/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 | 607 .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()
|
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 | 73 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()
|
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() 512 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()
|
D | X509CRL2Test.java | 72 pemCert = (X509Certificate) certFact.generateCertificate(certArray); 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() 271 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_removeCertificateLjava_security_Certificate() 305 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_equalsLjava_lang_Object() 325 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_identityEqualsLjava_security_Identity()
|
D | KeyStorePrivateKeyEntryTest.java | 62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain()
|
/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/tests/security/ |
D | CertificateFactoryTest.java | 43 Certificate certificate = certificateFactory.generateCertificate( in testCertificateFactory()
|
/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/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 70 certFact.generateCertificate(new ByteArrayInputStream(T61STRING_CERT)); in testGetName()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | Certificate.java | 275 return cf.generateCertificate in readResolve()
|
D | CertificateFactory.java | 363 public final Certificate generateCertificate(InputStream inStream) in generateCertificate() method in CertificateFactory
|
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/ |
D | CertBlocklistTest.java | 221 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey() 228 X509Certificate xCert = (X509Certificate)cf.generateCertificate(istream); in createSerialNumber()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertSelectorTest.java | 158 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(encoded)); in bouncycastleToJava()
|