Home
last modified time | relevance | path

Searched refs:certArray (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStorePrivateKeyEntryTest.java52 ByteArrayInputStream certArray; in testGetCertificateChain() local
55 certArray = new ByteArrayInputStream( in testGetCertificateChain()
62 Certificate certificate = cf.generateCertificate(certArray); in testGetCertificateChain()
DIdentity2Test.java100 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes()); field in Identity2Test
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()
DKeyStore2Test.java93 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes()); field in KeyStore2Test
141 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in creatCertificate()
170 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_aliases()
215 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_containsAliasLjava_lang_String()
252 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getCertificateLjava_lang_String()
292 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getCertificateAliasLjava_security_cert_Certificate()
325 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getCertificateChainLjava_lang_String()
383 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_getKeyLjava_lang_String$C()
416 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_isCertificateEntryLjava_lang_String()
447 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in test_isKeyEntryLjava_lang_String()
[all …]
DKeyStore3Test.java164 ByteArrayInputStream certArray = new ByteArrayInputStream( in setUp() local
167 certificate = cf.generateCertificate(certArray); in setUp()
/libcore/luni/src/test/java/tests/security/cert/
DPKIXBuilderParametersTest.java239 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate in testPKIXBuilderParametersKeyStoreCertSelector04() local
246 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testPKIXBuilderParametersKeyStoreCertSelector04()
270 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate in testGetMaxPathLength() local
277 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testGetMaxPathLength()
298 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate in testSetMaxPathLength() local
305 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testSetMaxPathLength()
341 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate in testToString() local
348 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in testToString()
DX509CRL2Test.java68 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate in setUp() local
72 pemCert = (X509Certificate) certFact.generateCertificate(certArray); in setUp()
DX509CRLTest.java73 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate field in X509CRLTest
290 X509Certificate cert = (X509Certificate) cf.generateCertificate(certArray); in testGetRevokedCertificate()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java233 X509Certificate[] certArray = pkcs7.getCertificates(); in parsePKCS7() local
235 if (certArray != null) { in parsePKCS7()
236 certList = Arrays.asList(certArray); in parsePKCS7()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509KeyManagerTest.java101 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate field in X509KeyManagerTest
636 cert[0] = (X509Certificate) cf.generateCertificate(certArray); in init()