Home
last modified time | relevance | path

Searched refs:parsePublicKey (Results 1 – 21 of 21) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DKeyEncoding.java71 return parsePublicKey(keyBytes); in parseUserPublicKey()
80 return parsePublicKey(keyBytes); in parseKeyAgreementPublicKey()
104 return parsePublicKey(keyBytes); in parseSigningPublicKey()
146 private static PublicKey parsePublicKey(byte[] keyBytes) throws InvalidKeySpecException { in parsePublicKey() method in KeyEncoding
148 return PublicKeyProtoUtil.parsePublicKey(GenericPublicKey.parseFrom(keyBytes)); in parsePublicKey()
DD2DDiffieHellmanKeyExchangeHandshake.java267 theirPublicKey = PublicKeyProtoUtil.parsePublicKey(initiatorHelloProto.getPublicDhKey()); in parseInitiatorHello()
DD2DCryptoOps.java188 PublicKey theirPublicKey = PublicKeyProtoUtil.parsePublicKey(theirGenericPublicKey); in deriveSharedKeyFromGenericPublicKey()
DUkey2Handshake.java881 return PublicKeyProtoUtil.parsePublicKey(GenericPublicKey.parseFrom(encodedPublicKey)); in parseP256PublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java179 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in getPublicKeyParameters()
191 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in getPublicKeyParameters()
230 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in getPublicKeyParameters()
264 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in getPublicKeyParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
DPublicKeyFactory.java181 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in getPublicKeyParameters()
193 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in getPublicKeyParameters()
232 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in getPublicKeyParameters()
266 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in getPublicKeyParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java106 public ASN1Primitive parsePublicKey() in parsePublicKey() method in SubjectPublicKeyInfo
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java111 public ASN1Primitive parsePublicKey() in parsePublicKey() method in SubjectPublicKeyInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java63 ….RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInstance(info.parsePublicKey()); in populateFromPublicKeyInfo()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java67 …y pubKey = com.android.org.bouncycastle.asn1.pkcs.RSAPublicKey.getInstance(info.parsePublicKey()); in populateFromPublicKeyInfo()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java213 public ASN1Encodable parsePublicKey() in parsePublicKey() method in PrivateKeyInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEDHPublicKey.java70 derY = (ASN1Integer)info.parsePublicKey(); in JCEDHPublicKey()
DJDKDSAPublicKey.java68 derY = (ASN1Integer)info.parsePublicKey(); in JDKDSAPublicKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java219 public ASN1Encodable parsePublicKey() in parsePublicKey() method in PrivateKeyInfo
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DJCEDHPublicKey.java74 derY = (ASN1Integer)info.parsePublicKey(); in JCEDHPublicKey()
DJDKDSAPublicKey.java72 derY = (ASN1Integer)info.parsePublicKey(); in JDKDSAPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java72 derY = (ASN1Integer)info.parsePublicKey(); in BCDSAPublicKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPublicKey.java76 derY = (ASN1Integer)info.parsePublicKey(); in BCDSAPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java88 derY = (ASN1Integer)info.parsePublicKey(); in BCDHPublicKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java92 derY = (ASN1Integer)info.parsePublicKey(); in BCDHPublicKey()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtil.java234 public static PublicKey parsePublicKey(GenericPublicKey gpk) throws InvalidKeySpecException { in parsePublicKey() method in PublicKeyProtoUtil