/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateTest.java | 65 assertEquals("TEST", c1.getPublicKey().getAlgorithm()); in testCertificate() 67 c1.getPublicKey().getEncoded())); in testCertificate() 68 assertEquals("TEST_FORMAT", c1.getPublicKey().getFormat()); in testCertificate() 256 c1.getPublicKey(); in testGetPublicKey() 351 sig.initVerify(cert.getPublicKey()); in testVerifyPublicKeyString2() 354 cert.verify(cert.getPublicKey(), provider.getName()); in testVerifyPublicKeyString2() 359 cert.verify(cert.getPublicKey(), "UnknownProvider"); in testVerifyPublicKeyString2() 403 sig.initVerify(cert.getPublicKey()); in testVerifyPublicKeyProvider2() 405 cert.verify(cert.getPublicKey(), provider); in testVerifyPublicKeyProvider2() 407 cert.verify(cert.getPublicKey(), (Provider)null); in testVerifyPublicKeyProvider2() [all …]
|
D | PKIXCertPathValidatorResultTest.java | 184 assertSame(pk, vr.getPublicKey()); in testGetPublicKey() 265 assertSame("publicKey", vr1.getPublicKey(), vr2.getPublicKey()); in testClone() 274 assertSame(my.getPublicKey(), myClone.getPublicKey()); in testClone()
|
D | CertificateCertificateRepTest.java | 75 assertEquals("0.3.5", obj.getPublicKey().getAlgorithm()); in testReadResolve() 76 assertEquals("X.509", obj.getPublicKey().getFormat()); in testReadResolve()
|
D | PKIXCertPathBuilderResultTest.java | 199 assertSame(init.getPublicKey(), clone.getPublicKey()); in test_clone()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Identity2Test.java | 79 public PublicKey getPublicKey() { in getPublicKey() method in Identity2Test.CertificateImpl 80 return cert.getPublicKey(); in getPublicKey() 216 PublicKey returnedPubKey = sub.getPublicKey(); in test_getPublicKey() 250 sub.setPublicKey(cert[0].getPublicKey()); in test_certificates() 272 sub.setPublicKey(cert[0].getPublicKey()); in test_removeCertificateLjava_security_Certificate() 306 sub.setPublicKey(cert[0].getPublicKey()); in test_equalsLjava_lang_Object() 326 sub.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity() 330 sub2.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity() 389 PublicKey returnedPubKey = sub.getPublicKey(); in testSetPublicKey() 393 assertEquals("Wrong PublicKey returned", null, sub.getPublicKey()); in testSetPublicKey()
|
D | KeyStore2Test.java | 265 PublicKey pub = cert[0].getPublicKey(); in test_getCertificateLjava_lang_String() 271 pub, certRes.getPublicKey()); in test_getCertificateLjava_lang_String() 347 cert[0].getPublicKey(), certRes[0].getPublicKey()); in test_getCertificateChainLjava_lang_String() 349 cert[1].getPublicKey(), certRes[1].getPublicKey()); in test_getCertificateChainLjava_lang_String() 524 PublicKey pub = cert.getPublicKey(); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate() 531 pub, resultCert.getPublicKey()); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate() 987 public PublicKey getPublicKey() { in getPublicKey() method in KeyStore2Test.MyCertificate
|
D | KeyStorePrivateKeyEntryTest.java | 65 String algorithm = certificate.getPublicKey().getAlgorithm(); in testGetCertificateChain()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Identity.java | 160 public PublicKey getPublicKey() { in getPublicKey() method in Identity 255 if (!keyEquals(publicKey, certificate.getPublicKey())) { in addCertificate() 260 publicKey = certificate.getPublicKey(); in addCertificate()
|
D | Certificate.java | 95 public abstract PublicKey getPublicKey(); in getPublicKey() method
|
D | Signer.java | 157 PublicKey publicKey = getPublicKey(); in printKeys()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | SystemScope.java | 112 PublicKey key = identity.getPublicKey(); in addIdentity() 142 PublicKey key = identity.getPublicKey(); in removeIdentity()
|
D | CertificateStub.java | 97 public PublicKey getPublicKey() { in getPublicKey() method in CertificateStub
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | CertificateTest.java | 64 public PublicKey getPublicKey() { in getPublicKey() method in CertificateTest.TBTCert 75 assertNull("Public key should be null", tbt_cert.getPublicKey()); in testCertificate()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | IdentityTest.java | 147 assertSame(pk1, i.getPublicKey()); in testAddCertificate2() 306 assertSame(pk1, i.getPublicKey()); in testSetPublicKey4() 310 assertSame(pk2, i.getPublicKey()); in testSetPublicKey4() 319 assertNull(i.getPublicKey()); in testGetPublicKey() 322 assertSame(pk, i.getPublicKey()); in testGetPublicKey()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | BasicChecker.java | 84 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in BasicChecker() 246 PublicKey cKey = currCert.getPublicKey(); in updateState() 303 PublicKey getPublicKey() { in getPublicKey() method in BasicChecker
|
D | AlgorithmChecker.java | 148 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in AlgorithmChecker() 256 PublicKey currPubKey = cert.getPublicKey(); in check() 373 prevPubKey = anchor.getTrustedCert().getPublicKey(); in trySetTrustAnchor()
|
D | RevocationChecker.java | 306 prevPubKey = (issuerCert != null) ? issuerCert.getPublicKey() 444 PublicKey pubKey = cert.getPublicKey(); 1039 prevKey2 = ta.getTrustedCert().getPublicKey(); 1056 prevKey2 = cert.getPublicKey(); 1060 badKeys.add(cpbr.getPublicKey()); 1066 " got key " + cpbr.getPublicKey()); 1072 PublicKey newKey = cpbr.getPublicKey(); 1141 if (badKeySet.contains(cert.getPublicKey())) {
|
D | X509CertificatePair.java | 315 PublicKey pk = reverse.getPublicKey(); in checkPair() 320 pk = forward.getPublicKey(); in checkPair()
|
D | DistributionPointFetcher.java | 367 prevKey = certImpl.getPublicKey(); in verifyCRL() 390 prevKey = certImpl.getPublicKey(); in verifyCRL() 397 prevKey = certImpl.getPublicKey(); in verifyCRL() 659 prevKey = result.getPublicKey(); in verifyCRL() 768 crl.verify(cert.getPublicKey(), provider); in issues()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXCertPathBuilderResult.java | 115 sb.append(" Subject Public Key: " + getPublicKey() + "\n"); in toString()
|
D | PKIXCertPathValidatorResult.java | 125 public PublicKey getPublicKey() { in getPublicKey() method in PKIXCertPathValidatorResult
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
D | Certificate.java | 176 public abstract PublicKey getPublicKey(); in getPublicKey() method in Certificate
|
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/ |
D | X509V1CertImpl.java | 206 public PublicKey getPublicKey() { in getPublicKey() method in X509V1CertImpl 207 PublicKey key = wrappedCert.getPublicKey(); in getPublicKey()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLTest.java | 173 interned.verify(caCert.getPublicKey(), f.getProvider()); in test_X509CRLImpl_verify() 216 crlRsa.verify(caCert.getPublicKey()); in verify() 220 crlRsa.verify(caCert.getPublicKey(), f.getProvider()); in verify() 234 crlRsa.verify(dsaCert.getPublicKey()); in verify() 241 crlRsa.verify(dsaCert.getPublicKey(), f.getProvider()); in verify()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DisabledAlgorithmConstraints.java | 207 if (!permits(primitives, cert.getPublicKey().getAlgorithm(), null)) { in checkConstraints() 360 algorithms.add(cert.getPublicKey().getAlgorithm()); in permits() 518 if (!permitsImpl(cp.getCertificate().getPublicKey())) { in permits()
|