Home
last modified time | relevance | path

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

123

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DIdentity2Test.java81 public PublicKey getPublicKey() { in getPublicKey() method in Identity2Test.CertificateImpl
82 return cert.getPublicKey(); in getPublicKey()
187 PublicKey returnedPubKey = sub.getPublicKey(); in test_getPublicKey()
221 sub.setPublicKey(cert[0].getPublicKey()); in test_certificates()
238 sub.setPublicKey(cert[0].getPublicKey()); in test_addCertificateLjava_security_Certificate()
252 sub.setPublicKey(cert[0].getPublicKey()); in test_removeCertificateLjava_security_Certificate()
269 sub.setPublicKey(cert[0].getPublicKey()); in test_equalsLjava_lang_Object()
285 sub.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity()
289 sub2.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity()
DKeyStore2Test.java235 PublicKey pub = cert[0].getPublicKey(); in test_getCertificateLjava_lang_String()
242 .getPublicKey() == pub); in test_getCertificateLjava_lang_String()
314 + "is not correct", cert[0].getPublicKey() == certRes[0] in test_getCertificateChainLjava_lang_String()
315 .getPublicKey() in test_getCertificateChainLjava_lang_String()
316 && cert[1].getPublicKey() == certRes[1].getPublicKey()); in test_getCertificateChainLjava_lang_String()
517 PublicKey pub = cert.getPublicKey(); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate()
526 resultCert.getPublicKey() == pub); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate()
DIdentityScope2Test.java88 if (current.getPublicKey() == pk) in getIdentity()
102 if (getIdentity(id.getPublicKey()) != null) in addIdentity()
DKeyStorePrivateKeyEntryTest.java65 String algorithm = certificate.getPublicKey().getAlgorithm(); in testGetCertificateChain()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXCertPathValidatorResultTest.java194 assertSame(pk, vr.getPublicKey()); in testGetPublicKey()
278 assertSame("publicKey", vr1.getPublicKey(), vr2.getPublicKey()); in testClone()
287 assertSame(my.getPublicKey(), myClone.getPublicKey()); in testClone()
DPKIXCertPathBuilderResultTest.java209 assertSame(init.getPublicKey(), clone.getPublicKey()); in test_clone()
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DIdentityTest.java140 assertSame(pk1, i.getPublicKey()); in testAddCertificate2()
299 assertSame(pk1, i.getPublicKey()); in testSetPublicKey4()
303 assertSame(pk2, i.getPublicKey()); in testSetPublicKey4()
313 assertNull(i.getPublicKey()); in testGetPublicKey()
316 assertSame(pk, i.getPublicKey()); in testGetPublicKey()
/external/conscrypt/src/platform/java/org/conscrypt/
DTrustedCertificateIndex.java102 publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
128 PublicKey certPublicKey = cert.getPublicKey(); in findBySubjectAndPublicKey()
134 caPublicKey = caCert.getPublicKey(); in findBySubjectAndPublicKey()
DTrustedCertificateStore.java342 return ca.getPublicKey().equals(c.getPublicKey()); in getTrustAnchor()
373 c.verify(ca.getPublicKey()); in findIssuer()
DPinListEntry.java113 byte[] encoded = cert.getPublicKey().getEncoded(); in getFingerprint()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECPublicKey.java97 private ECPoint getPublicKey() { in getPublicKey() method in OpenSSLECPublicKey
106 return getPublicKey(); in getW()
130 if (!getPublicKey().equals(other.getW())) { in equals()
DOpenSSLKey.java231 public PublicKey getPublicKey() throws NoSuchAlgorithmException { in getPublicKey() method in OpenSSLKey
242 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey() method in OpenSSLKey
258 return key.getPublicKey(); in getPublicKey()
DChainStrengthAnalyzer.java52 Object pubkey = cert.getPublicKey(); in checkKeyLength()
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java74 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
95 … (ASN1Sequence)new ASN1InputStream(certificate.getPublicKey().getEncoded()).readObject()); in fromCertificate()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPoloChallengeResponse.java84 PublicKey clientPubKey = mClientCertificate.getPublicKey(); in getAlpha()
85 PublicKey serverPubKey = mServerCertificate.getPublicKey(); in getAlpha()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java290 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
302 chainCerts.remove(new CertId(c.getPublicKey())); in engineDeleteEntry()
440 x509c.verify(crt.getPublicKey()); in engineGetCertificateChain()
526 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineSetCertificateEntry()
567 chainCerts.put(new CertId(chain[i].getPublicKey()), chain[i]); in engineSetKeyEntry()
1188 chainCerts.put(new CertId(cert.getPublicKey()), cert); in engineLoad()
1194 … String name = new String(Hex.encode(createSubjectKeyId(cert.getPublicKey()).getKeyIdentifier())); in engineLoad()
1321 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(ct.getPublicKey())); in doStore()
1349 kSeq.add(new DERSet(createSubjectKeyId(ct.getPublicKey()))); in doStore()
1410 … bagAttrs.setBagAttribute(pkcs_9_at_localKeyId, createSubjectKeyId(cert.getPublicKey())); in doStore()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java401 public PublicKey getPublicKey() in getPublicKey() method in PKCS10CertificationRequest
404 return getPublicKey(BouncyCastleProvider.PROVIDER_NAME); in getPublicKey()
407 public PublicKey getPublicKey( in getPublicKey() method in PKCS10CertificationRequest
480 return verify(this.getPublicKey(provider), provider); in verify()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
DMyCertificate.java88 public PublicKey getPublicKey() { in getPublicKey() method in MyCertificate
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DCertificateStub.java98 public PublicKey getPublicKey() { in getPublicKey() method in CertificateStub
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaContentVerifierProviderBuilder.java91 sig.initVerify(certificate.getPublicKey()); in build()
100 Signature rawSig = createRawSig(algorithm, certificate.getPublicKey()); in build()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
DCertificateTest.java68 public PublicKey getPublicKey() { in getPublicKey() method in CertificateTest.TBTCert
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DDigitalSignatureTest.java90 public PublicKey getPublicKey() { in test_Sign()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DKeyFactory.java57 PublicKey key = BouncyCastleProvider.getPublicKey(info); in engineGeneratePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java121 public ASN1Primitive getPublicKey() in getPublicKey() method in SubjectPublicKeyInfo

123