/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 39 import java.security.cert.CertificateFactory; 79 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificateLjava_io_InputStream() 108 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificatesLjava_io_InputStream() 130 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLLjava_io_InputStream() 151 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLsLjava_io_InputStream() 172 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_getInstanceLjava_lang_String() 190 CertificateFactory fact = CertificateFactory.getInstance( in test_getInstanceLjava_lang_StringLjava_lang_String() 200 CertificateFactory.getInstance("X.509", "IHaventBeenConfigured"); in test_getInstanceLjava_lang_StringLjava_lang_String() 213 Provider p = CertificateFactory.getInstance("X.509").getProvider(); in test_getProvider() 224 CertificateFactory.getInstance("X.509").generateCRL( in testGenerateCRLs2() [all …]
|
D | CertificateFactory1Test.java | 43 import java.security.cert.CertificateFactory; 80 private static CertificateFactory[] initCertFs() { in initCertFs() 86 CertificateFactory[] certFs = new CertificateFactory[3]; in initCertFs() 87 certFs[0] = CertificateFactory.getInstance(defaultType); in initCertFs() 88 certFs[1] = CertificateFactory.getInstance(defaultType, in initCertFs() 90 certFs[2] = CertificateFactory.getInstance(defaultType, in initCertFs() 113 CertificateFactory certF = CertificateFactory in testCertificateFactory01() 127 CertificateFactory.getInstance(null); in testCertificateFactory02() 134 CertificateFactory.getInstance(invalidValues[i]); in testCertificateFactory02() 155 CertificateFactory.getInstance(validValues[i], provider); in testCertificateFactory03() [all …]
|
D | CertificateFactory2Test.java | 40 import java.security.cert.CertificateFactory; 84 private void checkResult(CertificateFactory certFactory, boolean mode) in checkResult() 183 CertificateFactory.getInstance(null); in GetInstance01() 190 CertificateFactory.getInstance(invalidValues[i]); in GetInstance01() 196 CertificateFactory cerF; in GetInstance01() 198 cerF = CertificateFactory.getInstance(validValues[i]); in GetInstance01() 218 CertificateFactory.getInstance(null, mProv.getName()); in GetInstance02() 225 CertificateFactory.getInstance(invalidValues[i], mProv in GetInstance02() 235 CertificateFactory.getInstance(validValues[i], prov); in GetInstance02() 241 CertificateFactory.getInstance(validValues[i], ""); in GetInstance02() [all …]
|
D | CertificateFactory3Test.java | 36 import java.security.cert.CertificateFactory; 68 private static CertificateFactory[] initCertFs() throws Exception { in initCertFs() 73 CertificateFactory[] certFs = new CertificateFactory[3]; in initCertFs() 74 certFs[0] = CertificateFactory.getInstance(defaultType); in initCertFs() 75 certFs[1] = CertificateFactory.getInstance(defaultType, in initCertFs() 77 certFs[2] = CertificateFactory in initCertFs() 87 CertificateFactory[] certFs = initCertFs(); in testGenerateCertificate() 103 CertificateFactory[] certFs = initCertFs(); in testGenerateCertificates() 123 CertificateFactory[] certFs = initCertFs(); in testGenerateCertPath01() 148 CertificateFactory[] certFs = initCertFs(); in testGenerateCertPath02() [all …]
|
D | TrustAnchorTest.java | 40 import java.security.cert.CertificateFactory; 283 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testTrustAnchorX509CertificatebyteArray01() 349 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testTrustAnchorX509CertificatebyteArray03() 372 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testTrustAnchorX509CertificatebyteArray04() 494 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testGetNameConstraints01() 519 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testGetNameConstraints02() 545 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in testToString()
|
D | PKIXBuilderParametersTest.java | 32 import java.security.cert.CertificateFactory; 244 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testPKIXBuilderParametersKeyStoreCertSelector04() 275 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetMaxPathLength() 303 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testSetMaxPathLength() 346 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testToString()
|
D | X509Certificate2Test.java | 27 import java.security.cert.CertificateFactory; 47 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in test_toString() 507 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in generateCert()
|
D | X509CRL2Test.java | 27 import java.security.cert.CertificateFactory; 71 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in setUp()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 44 import java.security.cert.CertificateFactory; 145 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() 159 …private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String n… in getCertificates() 268 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() 332 private void getPublicKey(CertificateFactory f) throws Exception { in getPublicKey() 342 private void getType(CertificateFactory f) throws Exception { in getType() 347 private void verify(CertificateFactory f) throws Exception { in verify() 382 private void check_equals(CertificateFactory f) throws Exception { in check_equals() 393 private void check_toString(CertificateFactory f) throws Exception { in check_toString() 407 private void check_hashCode(CertificateFactory f) throws Exception { in check_hashCode() [all …]
|
D | X509CRLTest.java | 39 import java.security.cert.CertificateFactory; 101 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate() 117 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL() 174 CertificateFactory f = CertificateFactory.getInstance("X.509"); in test_X509CRLImpl_verify() 187 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider() 215 private void verify(CertificateFactory f) throws Exception { in verify() 260 private void getType(CertificateFactory f) throws Exception { in getType() 266 private void isRevoked(CertificateFactory f) throws Exception { in isRevoked() 290 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception { in getThisUpdateNextUpdate() 320 private void getSigAlgName(CertificateFactory f) throws Exception { in getSigAlgName() [all …]
|
D | SubjectAlternativeNameTest.java | 22 import java.security.cert.CertificateFactory; 68 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in bouncycastleToJava()
|
D | OldPKIXParametersTest.java | 29 import java.security.cert.CertificateFactory; 110 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testIsPolicyMappingInhibited() 139 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testIsRevocationEnabled()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateFactory.java | 149 public class CertificateFactory { class 168 protected CertificateFactory(CertificateFactorySpi certFacSpi, in CertificateFactory() method in CertificateFactory 203 public static final CertificateFactory getInstance(String type) in getInstance() 208 return new CertificateFactory((CertificateFactorySpi)instance.impl, in getInstance() 249 public static final CertificateFactory getInstance(String type, in getInstance() 257 return new CertificateFactory((CertificateFactorySpi)instance.impl, in getInstance() 293 public static final CertificateFactory getInstance(String type, in getInstance() 300 return new CertificateFactory((CertificateFactorySpi)instance.impl, in getInstance()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HostnameVerifierTest.java | 22 import java.security.cert.CertificateFactory; 46 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testVerify() 142 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testSubjectAlt() 156 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testVerifyIpAddress() 179 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testWildcardsCannotMatchIpAddresses() 216 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testWildcardsDoesNotNeedTwoDots() 249 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testSubjectAltName() 286 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testSubjectAltNameWithWildcard()
|
D | X509TrustManagerTest.java | 5 import java.security.cert.CertificateFactory; 15 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in setX509Certificate() 23 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in setInvalid()
|
D | HttpsURLConnectionTest.java | 26 import java.security.cert.CertificateFactory; 273 CertificateFactory cf = CertificateFactory.getInstance(typeDone); in getLocalCertificates() 288 CertificateFactory cf = CertificateFactory.getInstance(typeDone); in getServerCertificates()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertificateTest.java | 28 import java.security.cert.CertificateFactory; 614 … CertificateFactory certificateFactory = CertificateFactory.getInstance("X509", provider); in testVerifyMD5() 627 … CertificateFactory certificateFactory = CertificateFactory.getInstance("X509", provider); in testVerifyMD2() 644 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in testVerifyMD2_chain() 683 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in testVerifyMD5_chain() 719 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in getCertList()
|
D | CertPathValidatorTestPKIX.java | 28 import java.security.cert.CertificateFactory; 59 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in setUp()
|
/libcore/luni/src/test/java/tests/security/ |
D | CertificateFactoryTest.java | 21 import java.security.cert.CertificateFactory; 40 CertificateFactory certificateFactory = CertificateFactory.getInstance( in testCertificateFactory()
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 20 import java.security.cert.CertificateFactory; 78 CertificateFactory certFactBC = CertificateFactory.getInstance("X.509", "BC"); in testGetName() 79 CertificateFactory certFactOpenSSL = CertificateFactory.getInstance("X.509", in testGetName()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 43 import java.security.cert.CertificateFactory; 139 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in creatCertificate() 168 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_aliases() 213 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_containsAliasLjava_lang_String() 250 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_getCertificateLjava_lang_String() 290 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_getCertificateAliasLjava_security_cert_Certificate() 323 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_getCertificateChainLjava_lang_String() 381 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_getKeyLjava_lang_String$C() 414 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_isCertificateEntryLjava_lang_String() 445 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_isKeyEntryLjava_lang_String() [all …]
|
D | Identity2Test.java | 30 import java.security.cert.CertificateFactory; 247 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_certificates() 266 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_removeCertificateLjava_security_Certificate() 300 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_equalsLjava_lang_Object() 320 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in test_identityEqualsLjava_security_Identity()
|
D | KeyStorePrivateKeyEntryTest.java | 27 import java.security.cert.CertificateFactory; 61 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetCertificateChain()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | PKIXCertPathValidatorValidity.java | 107 CertificateFactory cf = CertificateFactory.getInstance("X509"); in runTest() 135 CertificateFactory cf) in generateCert()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 41 import java.security.cert.CertificateFactory; 92 CertificateFactory cf = null; in getTrustAnchor() 94 cf = CertificateFactory.getInstance(certType); in getTrustAnchor() 777 CertificateFactory cf = CertificateFactory.getInstance("X.509");
|