/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HostnameVerifierTest.java | 49 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 58 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 64 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 72 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 85 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 91 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 101 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 109 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 115 x509 = (X509Certificate) cf.generateCertificate(in); in testVerify() 136 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 | 598 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD5 in testVerifyMD5() 611 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD2 in testVerifyMD2() 704 .generateCertificate(new ByteArrayInputStream( in getCertList() 707 .generateCertificate(new ByteArrayInputStream( in getCertList() 710 .generateCertificate(new ByteArrayInputStream( in getCertList() 714 .generateCertificate(new ByteArrayInputStream( in getCertList() 717 .generateCertificate(new ByteArrayInputStream( in getCertList() 720 .generateCertificate(new ByteArrayInputStream( in getCertList()
|
D | CertPathValidatorTestPKIX.java | 62 (X509Certificate) certificateFactory.generateCertificate( in setUp()
|
/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 | 65 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream() 70 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream() 76 fact.generateCertificate(is); in test_generateCertificateLjava_io_InputStream() 219 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()
|
/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/libcore/java/security/cert/ |
D | CertificateFactoryTest.java | 190 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() 196 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate() 202 cf.generateCertificate(new ByteArrayInputStream(invalid)); in test_generateCertificate() 236 cf.generateCertificate(new ByteArrayInputStream(baos.toByteArray())); in test_generateCertificate_AnyLineLength_Success() 253 Certificate c = cf.generateCertificate(new ByteArrayInputStream(new byte[0])); in test_generateCertificate_InputStream_Empty() 268 Certificate c = cf.generateCertificate(new ByteArrayInputStream( in test_generateCertificate_InputStream_InvalidStart_Failure() 290 Certificate certificate = cf.generateCertificate(certStream); in test_generateCertificate_InputStream_Offset_Correct() 371 KeyHolder ca = generateCertificate(true, null); in testGenerateCertPath() 372 KeyHolder cert1 = generateCertificate(true, ca); in testGenerateCertPath() 373 KeyHolder cert2 = generateCertificate(false, cert1); in testGenerateCertPath() [all …]
|
D | SubjectAlternativeNameTest.java | 69 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(encoded)); in bouncycastleToJava()
|
/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/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509KeyManagerImpl.java | 96 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in X509KeyManagerImpl() 97 cert[1] = (X509Certificate) cf.generateCertificate(certArray2); in X509KeyManagerImpl() 106 cert[0] = (X509Certificate) cf.generateCertificate(certArray3); in X509KeyManagerImpl()
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 64 certFactBC.generateCertificate(new ByteArrayInputStream(T61STRING_CERT)); in testGetName() 66 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/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()
|