/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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | X509CertificateTest.java | 542 public PublicKey getPublicKey() { in getPublicKey() method in X509CertificateTest.MyCertificate 641 PublicKey key = javaxCert.getPublicKey(); in testGetPublicKey() 643 assertEquals(javaxCert.getPublicKey(), javaCert.getPublicKey()); in testGetPublicKey() 646 key = javaxSSCert.getPublicKey(); in testGetPublicKey() 668 assertNotNull(javaxCert.getPublicKey()); in testVerifyPublicKey() 669 assertNotNull(javaxSSCert.getPublicKey()); in testVerifyPublicKey() 677 javaxCert.verify(javaxCert.getPublicKey()); in testVerifyPublicKey() 682 PublicKey k = javaxCert.getPublicKey(); in testVerifyPublicKey() 689 javaxCert.verify(tbt_cert.getPublicKey()); in testVerifyPublicKey() 748 javaxCert.verify(javaxCert.getPublicKey(), myProvider.getName()); in testVerifyPublicKeyString() [all …]
|
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/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() 269 sub.setPublicKey(cert[0].getPublicKey()); in test_removeCertificateLjava_security_Certificate() 303 sub.setPublicKey(cert[0].getPublicKey()); in test_equalsLjava_lang_Object() 323 sub.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity() 327 sub2.setPublicKey(cert[0].getPublicKey()); in test_identityEqualsLjava_security_Identity() 386 PublicKey returnedPubKey = sub.getPublicKey(); in testSetPublicKey() 390 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/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/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/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 | 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()
|
D | X509CertificatePair.java | 315 PublicKey pk = reverse.getPublicKey(); in checkPair() 320 pk = forward.getPublicKey(); in checkPair()
|
/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/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/ojluni/src/main/java/javax/security/cert/ |
D | Certificate.java | 176 public abstract PublicKey getPublicKey(); in getPublicKey() method in Certificate
|
/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()
|