/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HostnameVerifierTest.java | 51 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 59 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 66 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 75 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 89 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 96 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 107 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 116 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 123 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 144 X509Certificate x509 = (X509Certificate) cf.generateCertificate(in); in testSubjectAlt() [all …]
|
D | X509KeyManagerTest.java | 636 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in init() 637 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in init() 638 cert[2] = (X509Certificate) cf.generateCertificate(certArray3); in init() 649 cert[0] = (X509Certificate) cf.generateCertificate(certArray3); in init()
|
D | X509TrustManagerTest.java | 16 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate( in setX509Certificate() 24 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate( in setInvalid()
|
D | HttpsURLConnectionTest.java | 276 Certificate cert = cf.generateCertificate(bis); in getLocalCertificates() 291 Certificate cert = cf.generateCertificate(bis); in getServerCertificates()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertificateTest.java | 617 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD5 in testVerifyMD5() 630 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD2 in testVerifyMD2() 723 .generateCertificate(new ByteArrayInputStream( in getCertList() 726 .generateCertificate(new ByteArrayInputStream( in getCertList() 729 .generateCertificate(new ByteArrayInputStream( in getCertList() 733 .generateCertificate(new ByteArrayInputStream( in getCertList() 736 .generateCertificate(new ByteArrayInputStream( in getCertList() 739 .generateCertificate(new ByteArrayInputStream( in getCertList()
|
D | CertPathValidatorTestPKIX.java | 62 (X509Certificate) certificateFactory.generateCertificate( in setUp()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 141 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in creatCertificate() 142 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in creatCertificate() 170 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_aliases() 171 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_aliases() 215 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_containsAliasLjava_lang_String() 216 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_containsAliasLjava_lang_String() 252 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getCertificateLjava_lang_String() 253 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_getCertificateLjava_lang_String() 292 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getCertificateAliasLjava_security_cert_Certificate() 293 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in test_getCertificateAliasLjava_security_cert_Certificate() [all …]
|
D | Identity2Test.java | 249 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_certificates() 268 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_removeCertificateLjava_security_Certificate() 302 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_equalsLjava_lang_Object() 322 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_identityEqualsLjava_security_Identity()
|
D | KeyStorePrivateKeyEntryTest.java | 62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXBuilderParametersTest.java | 246 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testPKIXBuilderParametersKeyStoreCertSelector04() 247 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testPKIXBuilderParametersKeyStoreCertSelector04() 277 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testGetMaxPathLength() 278 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testGetMaxPathLength() 305 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testSetMaxPathLength() 306 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testSetMaxPathLength() 348 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testToString() 349 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in testToString()
|
D | CertificateFactory4Test.java | 83 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream() 88 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream() 94 fact.generateCertificate(is); in test_generateCertificateLjava_io_InputStream() 237 CertificateFactory.getInstance("X.509").generateCertificate(null); in testGenerateCertificate()
|
D | TrustAnchorTest.java | 285 .generateCertificate(new ByteArrayInputStream(TestUtils in testTrustAnchorX509CertificatebyteArray01() 351 .generateCertificate(new ByteArrayInputStream(TestUtils in testTrustAnchorX509CertificatebyteArray03() 374 .generateCertificate(new ByteArrayInputStream(TestUtils in testTrustAnchorX509CertificatebyteArray04() 496 .generateCertificate(new ByteArrayInputStream(TestUtils in testGetNameConstraints01() 521 .generateCertificate(new ByteArrayInputStream(TestUtils in testGetNameConstraints02() 547 .generateCertificate(new ByteArrayInputStream(TestUtils in testToString()
|
D | CertificateFactory3Test.java | 91 certs[i] = certFs[i].generateCertificate(new ByteArrayInputStream( in testGenerateCertificate() 106 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertificates() 127 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertPath01()
|
D | X509Certificate2Test.java | 49 .generateCertificate(new ByteArrayInputStream(TestUtils in test_toString() 509 X509Certificate cert = (X509Certificate) cf.generateCertificate(bais); in generateCert()
|
D | CertificateFactory2Test.java | 123 certFactory.generateCertificate(bais); in checkResult() 132 Certificate cert = certFactory.generateCertificate(dis); in checkResult()
|
D | CertificateTest.java | 173 Certificate actual = cf.generateCertificate(new ByteArrayInputStream(expectedEncoding)); in testGetEncoded() 180 cf.generateCertificate(new ByteArrayInputStream(expectedEncoding)); in testGetEncoded()
|
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/ |
D | X509V1CertImpl.java | 85 getFactory().generateCertificate(bs); in X509V1CertImpl() 101 getFactory().generateCertificate(in); in X509V1CertImpl() 317 getFactory().generateCertificate(stream); in readObject()
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 83 certFactBC.generateCertificate(new ByteArrayInputStream(T61STRING_CERT)); in testGetName() 85 certFactOpenSSL.generateCertificate(new ByteArrayInputStream(T61STRING_CERT)); in testGetName()
|
/libcore/luni/src/test/java/tests/security/ |
D | CertificateFactoryTest.java | 43 Certificate certificate = certificateFactory.generateCertificate( in testCertificateFactory()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 105 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis); in getTrustAnchor() 779 rootCertificateSS = (X509Certificate) cf.generateCertificate(bi); 781 endCertificate = (X509Certificate) cf.generateCertificate(bi);
|
/libcore/ojluni/src/test/java/security/cert/ |
D | PKIXCertPathValidatorValidity.java | 139 return (X509Certificate) cf.generateCertificate(stream); in generateCert()
|
D | AKISerialNumberTest.java | 146 return (X509Certificate)cf.generateCertificate(stream); in getCertFromMimeEncoding()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | SubjectAlternativeNameTest.java | 69 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(encoded)); in bouncycastleToJava()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | Certificate.java | 275 return cf.generateCertificate in readResolve()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | X509CertificateTest.java | 139 .generateCertificate(bais); in setUp() 144 .generateCertificate(new ByteArrayInputStream(selfSignedCert.getBytes())); in setUp() 150 this.javaSSCert = cf.generateCertificate(new ByteArrayInputStream( in setUp()
|