Home
last modified time | relevance | path

Searched refs:CertificateFactory (Results 1 – 25 of 54) sorted by relevance

123

/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory4Test.java39 import java.security.cert.CertificateFactory;
69 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificateLjava_io_InputStream()
98 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCertificatesLjava_io_InputStream()
120 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLLjava_io_InputStream()
141 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_generateCRLsLjava_io_InputStream()
162 CertificateFactory fact = CertificateFactory.getInstance("X.509"); in test_getInstanceLjava_lang_String()
180 CertificateFactory fact = CertificateFactory.getInstance( in test_getInstanceLjava_lang_StringLjava_lang_String()
190 CertificateFactory.getInstance("X.509", "IHaventBeenConfigured"); in test_getInstanceLjava_lang_StringLjava_lang_String()
203 Provider p = CertificateFactory.getInstance("X.509").getProvider(); in test_getProvider()
214 CertificateFactory.getInstance("X.509").generateCRL( in testGenerateCRLs2()
[all …]
DCertificateFactory1Test.java43 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 …]
DCertificateFactory2Test.java40 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 …]
DCertificateFactory3Test.java36 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 …]
DTrustAnchorTest.java40 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()
DPKIXBuilderParametersTest.java32 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()
DX509Certificate2Test.java27 import java.security.cert.CertificateFactory;
47 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in test_toString()
507 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in generateCert()
DX509CRL2Test.java27 import java.security.cert.CertificateFactory;
71 CertificateFactory certFact = CertificateFactory.getInstance("X509"); in setUp()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java44 import java.security.cert.CertificateFactory;
139 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
153 …private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String n… in getCertificates()
262 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider()
326 private void getPublicKey(CertificateFactory f) throws Exception { in getPublicKey()
336 private void getType(CertificateFactory f) throws Exception { in getType()
341 private void verify(CertificateFactory f) throws Exception { in verify()
376 private void check_equals(CertificateFactory f) throws Exception { in check_equals()
387 private void check_toString(CertificateFactory f) throws Exception { in check_toString()
401 private void check_hashCode(CertificateFactory f) throws Exception { in check_hashCode()
[all …]
DX509CRLTest.java41 import java.security.cert.CertificateFactory;
96 private final X509Certificate getCertificate(CertificateFactory f, String name) in getCertificate()
112 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL()
169 CertificateFactory f = CertificateFactory.getInstance("X.509"); in test_X509CRLImpl_verify()
182 CertificateFactory f = CertificateFactory.getInstance("X.509", p); in test_Provider()
210 private void verify(CertificateFactory f) throws Exception { in verify()
255 private void getType(CertificateFactory f) throws Exception { in getType()
261 private void isRevoked(CertificateFactory f) throws Exception { in isRevoked()
285 private void getThisUpdateNextUpdate(CertificateFactory f) throws Exception { in getThisUpdateNextUpdate()
315 private void getSigAlgName(CertificateFactory f) throws Exception { in getSigAlgName()
[all …]
DSubjectAlternativeNameTest.java22 import java.security.cert.CertificateFactory;
68 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in bouncycastleToJava()
DOldPKIXParametersTest.java29 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/
DCertificateFactory.java149 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/
DHostnameVerifierTest.java22 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()
DX509TrustManagerTest.java5 import java.security.cert.CertificateFactory;
15 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in setX509Certificate()
23 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in setInvalid()
DHttpsURLConnectionTest.java26 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/
DCertificateTest.java28 import java.security.cert.CertificateFactory;
604CertificateFactory certificateFactory = CertificateFactory.getInstance("X509", provider); in testVerifyMD5()
617CertificateFactory certificateFactory = CertificateFactory.getInstance("X509", provider); in testVerifyMD2()
634 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in testVerifyMD2_chain()
673 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in testVerifyMD5_chain()
709 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in getCertList()
DCertPathValidatorTestPKIX.java28 import java.security.cert.CertificateFactory;
59 CertificateFactory certificateFactory = CertificateFactory.getInstance("X509"); in setUp()
/libcore/luni/src/test/java/tests/security/
DCertificateFactoryTest.java21 import java.security.cert.CertificateFactory;
40 CertificateFactory certificateFactory = CertificateFactory.getInstance( in testCertificateFactory()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java43 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 …]
DIdentity2Test.java30 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()
DKeyStorePrivateKeyEntryTest.java27 import java.security.cert.CertificateFactory;
61 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in testGetCertificateChain()
/libcore/ojluni/src/test/java/security/cert/
DPKIXCertPathValidatorValidity.java107 CertificateFactory cf = CertificateFactory.getInstance("X509"); in runTest()
135 CertificateFactory cf) in generateCert()
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/
DX500PrincipalTest.java20 import java.security.cert.CertificateFactory;
68 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in testGetName()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DTestUtils.java41 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");

123