/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 122 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() method in X509CertificateTest 310 X509Certificate c = getCertificate(f, CERT_RSA); in getPublicKey() 320 X509Certificate c = getCertificate(f, CERT_RSA); in getType() 325 X509Certificate c = getCertificate(f, CERT_RSA); in verify() 360 X509Certificate c1 = getCertificate(f, CERT_RSA); in check_equals() 361 X509Certificate c2 = getCertificate(f, CERT_RSA); in check_equals() 365 X509Certificate c3 = getCertificate(f, CERT_DSA); in check_equals() 371 X509Certificate c1 = getCertificate(f, CERT_RSA); in check_toString() 377 X509Certificate c2 = getCertificate(f, CERT_RSA); in check_toString() 380 X509Certificate c3 = getCertificate(f, CERT_DSA); in check_toString() [all …]
|
D | PKIXRevocationCheckerTest.java | 58 .singletonMap((X509Certificate) entity.getCertificate(), goodOCSPResponse); in test_CanSetOCSPResponse() 63 byte[] returnedResponse = returnedResponses.get(entity.getCertificate()); in test_CanSetOCSPResponse() 75 checker.setOcspResponderCert((X509Certificate) issuer.getCertificate()); in test_getOcspResponderCert() 76 assertEquals((X509Certificate) issuer.getCertificate(), checker.getOcspResponderCert()); in test_getOcspResponderCert()
|
D | X509CRLTest.java | 80 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() method in X509CRLTest 156 X509Certificate caCert = getCertificate(f, CERT_CRL_CA); in test_X509CRLImpl_verify() 197 X509Certificate caCert = getCertificate(f, CERT_CRL_CA); in verify() 214 X509Certificate dsaCert = getCertificate(f, CERT_DSA); in verify() 246 X509Certificate rsaCert = getCertificate(f, CERT_RSA); in isRevoked() 247 X509Certificate dsaCert = getCertificate(f, CERT_DSA); in isRevoked() 374 X509Certificate rsaCert = getCertificate(f, CERT_RSA); in assertRsaCrlEntry() 392 X509Certificate dsaCert = getCertificate(f, CERT_DSA); in assertDsaCrlEntry() 417 X509Certificate rsaCert = getCertificate(f, CERT_RSA); in getRevokedCertificates() 418 X509Certificate dsaCert = getCertificate(f, CERT_DSA); in getRevokedCertificates() [all …]
|
D | CertPathValidatorTest.java | 80 X509Certificate serverCert = (X509Certificate) serverEntry.getCertificate(); in runOCSPStapledTest() 82 (X509Certificate) caEntry.getCertificate(), caEntry.getPrivateKey(), certStatus); in runOCSPStapledTest() 85 .singleton(new TrustAnchor((X509Certificate) rootCaEntry.getCertificate(), null))); in runOCSPStapledTest() 105 chain.add((X509Certificate) caEntry.getCertificate()); in runOCSPStapledTest()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | BuildStep.java | 87 cert = vertex.getCertificate(); in BuildStep() 107 public X509Certificate getCertificate() { in getCertificate() method in BuildStep
|
D | Vertex.java | 72 public X509Certificate getCertificate() { in getCertificate() method in Vertex
|
D | PKIX.java | 242 X509Certificate cert = sel.getCertificate(); in getTargetSubject()
|
D | Builder.java | 432 X509Certificate targetCert = selector.getCertificate(); in addMatchingCerts()
|
D | SunCertPathBuilder.java | 288 X509Certificate cert = vertex.getCertificate(); in depthFirstSearchForward()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | CertConstraintParameters.java | 56 public X509Certificate getCertificate() { in getCertificate() method in CertConstraintParameters
|
D | AnchorCertificates.java | 68 .getCertificate(alias); in AccessController.doPrivileged()
|
D | DisabledAlgorithmConstraints.java | 195 X509Certificate cert = cp.getCertificate(); in checkConstraints() 346 X509Certificate cert = cp.getCertificate(); in permits() 518 if (!permitsImpl(cp.getCertificate().getPublicKey())) { in permits()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 257 keyTest.getCertificate("anAlias"); in test_getCertificateLjava_lang_String() 268 Certificate certRes = keyTest.getCertificate("alias1"); in test_getCertificateLjava_lang_String() 277 Certificate cert2 = keyTest.getCertificate("alias2"); in test_getCertificateLjava_lang_String() 528 Certificate resultCert = keyTest.getCertificate("alias1"); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate() 782 assertEquals(new MyCertificate(type, testEncoding), pkeActual1.getCertificate()); in test_getEntry() 792 assertEquals(new MyCertificate(type, testEncoding), pkeActual2.getCertificate()); in test_getEntry() 833 assertEquals(new MyCertificate(type, testEncoding), pkeActual.getCertificate()); in test_setEntry() 845 assertEquals(new MyCertificate(type, testEncoding), pkeActual.getCertificate()); in test_setEntry() 857 assertEquals(new MyCertificate(type, testEncoding), pkeActual.getCertificate()); in test_setEntry()
|
D | KSPrivateKeyEntryTest.java | 178 Certificate res = ksPKE.getCertificate(); in testGetCertificate()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | SignerInfo.java | 259 public X509Certificate getCertificate(PKCS7 block) in getCertificate() method in SignerInfo 262 return block.getCertificate(certificateSerialNumber, issuerName); in getCertificate() 272 userCert = block.getCertificate(certificateSerialNumber, issuerName); in getCertificateChain() 419 X509Certificate cert = getCertificate(block); in verify()
|
D | PKCS7.java | 716 public X509Certificate getCertificate(BigInteger serial, X500Name issuerName) { in getCertificate() method in PKCS7
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 555 caCert = (X509Certificate)signer.getCertificate(); in createKeys() 606 publicKey = privateEntry.getCertificate().getPublicKey(); in createKeys() 841 X509Certificate certificate = (X509Certificate) privateKey.getCertificate(); in privateKey() 928 X509Certificate serverCertJca = (X509Certificate) server.getCertificate(); in generateOCSPResponse() 929 X509Certificate caCertJca = (X509Certificate) issuer.getCertificate(); in generateOCSPResponse() 1052 X509Certificate cert = (X509Certificate)src.getCertificate(alias); in copySelfSignedCertificates() 1075 X509Certificate cert = (X509Certificate)src.getCertificate(alias); in copyCertificate() 1111 out.println(keyStore.getCertificate(alias)); in dump()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertPathBuilderTestPKIX.java | 45 X509Certificate clientCert = (X509Certificate) pke.getCertificate(); in getCertPathParameters()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 81 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getPeerPrincipal() 144 Certificate cert = store.getCertificate("mykey"); in test_getLocalCertificates() 155 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getLocalPrincipal()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 338 X509Certificate keyStoreCertificate = (X509Certificate) keyStore.getCertificate(alias); in assertCertificateInKeyStore() 354 Certificate keyStoreCertificate = keyStore.getCertificate(alias); in assertCertificateInKeyStore()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXParameters.java | 152 Certificate cert = keystore.getCertificate(alias); in PKIXParameters()
|
D | X509CertSelector.java | 1290 public X509Certificate getCertificate() { in getCertificate() method in X509CertSelector
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 226 assertEquals(selector.getCertificate(), selector1.getCertificate()); in test_clone() 300 assertEquals(cert1, selector.getCertificate()); in test_getCertificate() 303 assertEquals(cert2, selector.getCertificate()); in test_getCertificate() 306 assertNull(selector.getCertificate()); in test_getCertificate() 897 assertNull(selector.getCertificate()); in test_setCertificateLjava_security_cert_X509Certificate()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStore.java | 632 public Certificate getCertificate() { in getCertificate() method in KeyStore.PrivateKeyEntry 1114 public final Certificate getCertificate(String alias) in getCertificate() method in KeyStore
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 1922 .getPrivateKey("RSA", "RSA").getCertificate(); in certificateWithKeyUsage()
|