Home
last modified time | relevance | path

Searched refs:getPublicKey (Results 1 – 25 of 110) sorted by relevance

12345

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustedCertificateIndex.java121 publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
148 PublicKey certPublicKey = cert.getPublicKey(); in findBySubjectAndPublicKey()
154 caPublicKey = caCert.getPublicKey(); in findBySubjectAndPublicKey()
196 publicKey = caCert.getPublicKey(); in findAllByIssuerAndSignature()
DOpenSSLECPublicKey.java100 private ECPoint getPublicKey() { in getPublicKey() method in OpenSSLECPublicKey
109 return getPublicKey(); in getW()
133 if (!getPublicKey().equals(other.getW())) { in equals()
DOpenSSLKey.java267 PublicKey getPublicKey() throws NoSuchAlgorithmException { in getPublicKey() method in OpenSSLKey
278 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey() method in OpenSSLKey
294 return key.getPublicKey(); in getPublicKey()
DCertificatePriorityComparator.java108 PublicKey lhsPublicKey = lhs.getPublicKey(); in compareStrength()
109 PublicKey rhsPublicKey = rhs.getPublicKey(); in compareStrength()
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustedCertificateIndex.java115 publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
141 PublicKey certPublicKey = cert.getPublicKey(); in findBySubjectAndPublicKey()
147 caPublicKey = caCert.getPublicKey(); in findBySubjectAndPublicKey()
188 publicKey = caCert.getPublicKey(); in findAllByIssuerAndSignature()
DOpenSSLECPublicKey.java99 private ECPoint getPublicKey() { in getPublicKey() method in OpenSSLECPublicKey
108 return getPublicKey(); in getW()
132 if (!getPublicKey().equals(other.getW())) { in equals()
DOpenSSLKey.java262 PublicKey getPublicKey() throws NoSuchAlgorithmException { in getPublicKey() method in OpenSSLKey
273 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey() method in OpenSSLKey
289 return key.getPublicKey(); in getPublicKey()
DCertificatePriorityComparator.java106 PublicKey lhsPublicKey = lhs.getPublicKey(); in compareStrength()
107 PublicKey rhsPublicKey = rhs.getPublicKey(); in compareStrength()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DInternalUtil.java34 return new OpenSSLKey(NativeCrypto.EVP_parse_public_key(logKey)).getPublicKey(); in logKeyToPublicKey()
41 return OpenSSLKey.fromPublicKeyPemInputStream(pem).getPublicKey(); in readPublicKeyPem()
DTrustedCertificateStore.java351 return ca.getPublicKey().equals(c.getPublicKey()); in getTrustAnchor()
382 c.verify(ca.getPublicKey()); in findIssuer()
408 c.verify(ca.getPublicKey()); in findAllIssuers()
427 c.verify(ca.getPublicKey()); in findAllIssuers()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DInternalUtil.java36 return new OpenSSLKey(NativeCrypto.EVP_parse_public_key(logKey)).getPublicKey(); in logKeyToPublicKey()
43 return OpenSSLKey.fromPublicKeyPemInputStream(pem).getPublicKey(); in readPublicKeyPem()
DTrustedCertificateStore.java370 return ca.getPublicKey().equals(c.getPublicKey()); in getTrustAnchor()
402 c.verify(ca.getPublicKey()); in findIssuer()
429 c.verify(ca.getPublicKey()); in findAllIssuers()
448 c.verify(ca.getPublicKey()); in findAllIssuers()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java112 KAT_PUBLIC_KEY1 = getPublicKey(KAT_PUBLIC_KEY1_X509);
114 KAT_PUBLIC_KEY2 = getPublicKey(KAT_PUBLIC_KEY2_X509);
135 ECPublicKey publicKey1 = getPublicKey(KAT_PUBLIC_KEY1_X509, keyFactoryProvider1); in testKnownAnswer()
140 getPublicKey(KAT_PUBLIC_KEY2_X509, keyFactoryProvider2); in testKnownAnswer()
469 private static ECPublicKey getPublicKey(byte[] x509EncodedKey, Provider provider) in getPublicKey() method in ECDHKeyAgreementTest
481 private static ECPublicKey getPublicKey(byte[] x509EncodedKey) in getPublicKey() method in ECDHKeyAgreementTest
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java114 KAT_PUBLIC_KEY1 = getPublicKey(KAT_PUBLIC_KEY1_X509);
116 KAT_PUBLIC_KEY2 = getPublicKey(KAT_PUBLIC_KEY2_X509);
137 ECPublicKey publicKey1 = getPublicKey(KAT_PUBLIC_KEY1_X509, keyFactoryProvider1); in testKnownAnswer()
142 getPublicKey(KAT_PUBLIC_KEY2_X509, keyFactoryProvider2); in testKnownAnswer()
471 private static ECPublicKey getPublicKey(byte[] x509EncodedKey, Provider provider) in getPublicKey() method in ECDHKeyAgreementTest
483 private static ECPublicKey getPublicKey(byte[] x509EncodedKey) in getPublicKey() method in ECDHKeyAgreementTest
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java132 publicKey = ((X509Certificate) certObject).getPublicKey(); in initialize()
155 return cert.getPublicKey(); in getPublicKeyFromPemCert()
163 return cert.getPublicKey(); in getPublicKeyFromDerCert()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DX509CertificateTest.java155 c.verify(c.getPublicKey()); in testMismatchedAlgorithm()
181 c.verify(c.getPublicKey()); in testExplicitEcParams()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DX509CertificateTest.java159 c.verify(c.getPublicKey()); in testMismatchedAlgorithm()
185 c.verify(c.getPublicKey()); in testExplicitEcParams()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java71 …jectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(certificate.getPublicKey().getEncoded()); in fromCertificate()
91 …jectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(certificate.getPublicKey().getEncoded()); in fromCertificate()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java73 …jectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(certificate.getPublicKey().getEncoded()); in fromCertificate()
93 …jectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(certificate.getPublicKey().getEncoded()); in fromCertificate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java398 public PublicKey getPublicKey() in getPublicKey() method in PKCS10CertificationRequest
401 return getPublicKey(BouncyCastleProvider.PROVIDER_NAME); in getPublicKey()
404 public PublicKey getPublicKey( in getPublicKey() method in PKCS10CertificationRequest
477 return verify(this.getPublicKey(provider), provider); in verify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java299 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
311 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
449 x509c.verify(crt.getPublicKey()); in engineGetCertificateChain()
542 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineSetCertificateEntry()
583 chainCerts.put(new CertId(chain[i].getPublicKey()), chain[i]); in engineSetKeyEntry()
1204 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineLoad()
1210 … String name = new String(Hex.encode(createSubjectKeyId(cert.getPublicKey()).getKeyIdentifier())); in engineLoad()
1357 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(ct.getPublicKey())); in doStore()
1385 kSeq.add(new DERSet(createSubjectKeyId(ct.getPublicKey()))); in doStore()
1446 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(cert.getPublicKey())); in doStore()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java303 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
315 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
453 x509c.verify(crt.getPublicKey()); in engineGetCertificateChain()
546 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineSetCertificateEntry()
587 chainCerts.put(new CertId(chain[i].getPublicKey()), chain[i]); in engineSetKeyEntry()
1208 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineLoad()
1214 … String name = new String(Hex.encode(createSubjectKeyId(cert.getPublicKey()).getKeyIdentifier())); in engineLoad()
1361 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(ct.getPublicKey())); in doStore()
1389 kSeq.add(new DERSet(createSubjectKeyId(ct.getPublicKey()))); in doStore()
1450 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(cert.getPublicKey())); in doStore()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaContentVerifierProviderBuilder.java89 sig.initVerify(certificate.getPublicKey()); in build()
96 Signature rawSig = createRawSig(algorithm, certificate.getPublicKey()); in build()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/
DPKCS10CertificationRequest.java400 public PublicKey getPublicKey() in getPublicKey() method in PKCS10CertificationRequest
403 return getPublicKey(BouncyCastleProvider.PROVIDER_NAME); in getPublicKey()
406 public PublicKey getPublicKey( in getPublicKey() method in PKCS10CertificationRequest
479 return verify(this.getPublicKey(provider), provider); in verify()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLKeyTest.java57 OpenSSLRSAPublicKey publicKey = (OpenSSLRSAPublicKey)key.getPublicKey(); in test_fromPublicKeyPemInputStream()

12345