HomeSort by relevance Sort by last modified time
    Searched defs:OpenSSLKey (Results 1 - 2 of 2) sorted by null

  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSignature.java 41 private OpenSSLKey key;
107 private void checkEngineType(OpenSSLKey pkey) throws InvalidKeyException {
134 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException {
144 initInternal(OpenSSLKey.fromPrivateKey(privateKey), true);
155 final OpenSSLKey key = this.key;
170 initInternal(OpenSSLKey.fromPublicKey(publicKey), false);
OpenSSLKey.java 31 public class OpenSSLKey {
40 public OpenSSLKey(long ctx) {
44 public OpenSSLKey(long ctx, boolean wrapped) {
51 public OpenSSLKey(long ctx, OpenSSLEngine engine, String alias) {
60 * life cycle of this native pointer is managed by the {@code OpenSSLKey}
83 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException {
100 return new OpenSSLKey(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(key.getEncoded()));
103 private static OpenSSLKey wrapPrivateKey(PrivateKey key) throws InvalidKeyException {
115 public static OpenSSLKey fromPublicKey(PublicKey key) throws InvalidKeyException {
129 return new OpenSSLKey(NativeCrypto.d2i_PUBKEY(key.getEncoded()))
    [all...]

Completed in 51 milliseconds