Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 25 of 44) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHostnameVerifierTest.java51 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 …]
DX509KeyManagerTest.java636 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()
DX509TrustManagerTest.java16 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate( in setX509Certificate()
24 X509Certificate pemCert = (X509Certificate) certFact.generateCertificate( in setInvalid()
DHttpsURLConnectionTest.java276 Certificate cert = cf.generateCertificate(bis); in getLocalCertificates()
291 Certificate cert = cf.generateCertificate(bis); in getServerCertificates()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java607 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD5 in testVerifyMD5()
620 .generateCertificate(new ByteArrayInputStream(selfSignedCertMD2 in testVerifyMD2()
713 .generateCertificate(new ByteArrayInputStream( in getCertList()
716 .generateCertificate(new ByteArrayInputStream( in getCertList()
719 .generateCertificate(new ByteArrayInputStream( in getCertList()
723 .generateCertificate(new ByteArrayInputStream( in getCertList()
726 .generateCertificate(new ByteArrayInputStream( in getCertList()
729 .generateCertificate(new ByteArrayInputStream( in getCertList()
DCertPathValidatorTestPKIX.java62 (X509Certificate) certificateFactory.generateCertificate( in setUp()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java141 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 …]
DIdentity2Test.java249 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()
DKeyStorePrivateKeyEntryTest.java62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain()
/libcore/luni/src/test/java/tests/security/cert/
DPKIXBuilderParametersTest.java246 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()
DCertificateFactory4Test.java73 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
78 fact.generateCertificate(bais); in test_generateCertificateLjava_io_InputStream()
84 fact.generateCertificate(is); in test_generateCertificateLjava_io_InputStream()
227 CertificateFactory.getInstance("X.509").generateCertificate(null); in testGenerateCertificate()
DTrustAnchorTest.java285 .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()
DCertificateFactory3Test.java91 certs[i] = certFs[i].generateCertificate(new ByteArrayInputStream( in testGenerateCertificate()
106 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertificates()
127 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertPath01()
DX509Certificate2Test.java49 .generateCertificate(new ByteArrayInputStream(TestUtils in test_toString()
509 X509Certificate cert = (X509Certificate) cf.generateCertificate(bais); in generateCert()
DCertificateFactory2Test.java123 certFactory.generateCertificate(bais); in checkResult()
132 Certificate cert = certFactory.generateCertificate(dis); in checkResult()
DCertificateTest.java173 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/
DX509V1CertImpl.java85 getFactory().generateCertificate(bs); in X509V1CertImpl()
101 getFactory().generateCertificate(in); in X509V1CertImpl()
317 getFactory().generateCertificate(stream); in readObject()
/libcore/luni/src/test/java/tests/security/
DCertificateFactoryTest.java43 Certificate certificate = certificateFactory.generateCertificate( in testCertificateFactory()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DTestUtils.java105 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/
DPKIXCertPathValidatorValidity.java139 return (X509Certificate) cf.generateCertificate(stream); in generateCert()
DAKISerialNumberTest.java146 return (X509Certificate)cf.generateCertificate(stream); in getCertFromMimeEncoding()
/libcore/luni/src/test/java/libcore/java/security/cert/
DSubjectAlternativeNameTest.java69 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(encoded)); in bouncycastleToJava()
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/
DX500PrincipalTest.java70 certFact.generateCertificate(new ByteArrayInputStream(T61STRING_CERT)); in testGetName()
/libcore/ojluni/src/main/java/java/security/cert/
DCertificate.java275 return cf.generateCertificate in readResolve()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java139 .generateCertificate(bais); in setUp()
144 .generateCertificate(new ByteArrayInputStream(selfSignedCert.getBytes())); in setUp()
150 this.javaSSCert = cf.generateCertificate(new ByteArrayInputStream( in setUp()

12