Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 45) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKSTrustedCertificateEntryTest.java46 Certificate cert = null; in testTrustedCertificateEntry() local
68 Certificate cert = new MyCertificate("TEST", new byte[10]); in testGetTrustedCertificate() local
79 Certificate cert = new MyCertificate("TEST", new byte[10]); in testToString() local
DKeyStore2Test.java140 X509Certificate cert[] = new X509Certificate[2]; in creatCertificate() local
169 X509Certificate cert[] = new X509Certificate[2]; in test_aliases() local
214 X509Certificate cert[] = new X509Certificate[2]; in test_containsAliasLjava_lang_String() local
251 X509Certificate cert[] = new X509Certificate[2]; in test_getCertificateLjava_lang_String() local
291 X509Certificate cert[] = new X509Certificate[2]; in test_getCertificateAliasLjava_security_cert_Certificate() local
324 X509Certificate cert[] = new X509Certificate[2]; in test_getCertificateChainLjava_lang_String() local
382 X509Certificate cert[] = new X509Certificate[2]; in test_getKeyLjava_lang_String$C() local
415 X509Certificate cert[] = new X509Certificate[2]; in test_isCertificateEntryLjava_lang_String() local
446 X509Certificate cert[] = new X509Certificate[2]; in test_isKeyEntryLjava_lang_String() local
513 X509Certificate cert = (X509Certificate) cf.generateCertificate(certArray); in test_setCertificateEntryLjava_lang_StringLjava_security_cert_Certificate() local
[all …]
DIdentity2Test.java48 X509Certificate cert; field in Identity2Test.CertificateImpl
50 public CertificateImpl(X509Certificate cert) { in CertificateImpl()
249 X509Certificate cert[] = new X509Certificate[1]; in test_certificates() local
268 X509Certificate cert[] = new X509Certificate[1]; in test_removeCertificateLjava_security_Certificate() local
302 X509Certificate cert[] = new X509Certificate[1]; in test_equalsLjava_lang_Object() local
322 X509Certificate cert[] = new X509Certificate[1]; in test_identityEqualsLjava_security_Identity() local
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java153 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectOnlyCert() local
178 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectAltOnlyCert() local
203 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectWithAltNamesCert() local
232 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectWithWildAltNamesCert() local
260 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testWildAltNameOnlyCert() local
285 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testAltIpOnlyCert() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHostnameVerifierTest.java167 String cert = "-----BEGIN CERTIFICATE-----\n" in testWildcardsCannotMatchIpAddresses() local
195 String cert = "-----BEGIN CERTIFICATE-----\n" in testWildcardsDoesNotNeedTwoDots() local
230 String cert = "-----BEGIN CERTIFICATE-----\n" in testSubjectAltName() local
267 String cert = "-----BEGIN CERTIFICATE-----\n" in testSubjectAltNameWithWildcard() local
DHttpsURLConnectionTest.java85 Certificate[] cert = con.getLocalCertificates(); in test_getLocalCertificates() local
183 Certificate[] cert = con.getServerCertificates(); in test_getServerCertificates() local
290 Certificate cert = cf.generateCertificate(bis); in getLocalCertificates() local
305 Certificate cert = cf.generateCertificate(bis); in getServerCertificates() local
/libcore/luni/src/test/java/tests/security/cert/
DPKIXBuilderParametersTest.java245 X509Certificate cert[] = new X509Certificate[2]; in testPKIXBuilderParametersKeyStoreCertSelector04() local
276 X509Certificate cert[] = new X509Certificate[2]; in testGetMaxPathLength() local
304 X509Certificate cert[] = new X509Certificate[2]; in testSetMaxPathLength() local
347 X509Certificate cert[] = new X509Certificate[2]; in testToString() local
DX509Certificate2Test.java277 MyX509Certificate cert = new MyX509Certificate() { in testGetIssuerX500Principal() local
290 MyX509Certificate cert = new MyX509Certificate() { in testGetSubjectX500Principal() local
303 X509Certificate cert = generateCert(CERT_CORRECT); in testGetExtendedKeyUsage() local
506 X509Certificate cert = (X509Certificate) cf.generateCertificate(bais); in generateCert() local
DCertificateFactory3Test.java105 Certificate cert = certFs[0] in testGenerateCertificates() local
126 Certificate cert = certFs[0] in testGenerateCertPath01() local
DX509CRLTest.java86 public boolean isRevoked(Certificate cert) { in isRevoked()
286 X509Certificate cert = (X509Certificate) cf.generateCertificate(certArray); in testGetRevokedCertificate() local
DCRLTest.java115 public boolean isRevoked(Certificate cert) { in isRevoked()
DPKIXCertPathCheckerTest.java89 public void check(Certificate cert, in check()
DCertificateFactorySpiTest.java148 Certificate cert = certFactorySpi in testCertificateFactorySpi02() local
218 Certificate cert = certFactorySpi in testCertificateFactorySpi03() local
/libcore/luni/src/main/java/java/security/cert/
DCertSelector.java48 public boolean match(Certificate cert); in match()
DX509Certificate.java188 X509Certificate cert = (X509Certificate) factory in getIssuerX500Principal() local
244 X509Certificate cert = (X509Certificate) factory in getSubjectX500Principal() local
DCRL.java58 public abstract boolean isRevoked(Certificate cert); in isRevoked()
DPKIXCertPathChecker.java109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCRL.java56 public boolean isRevoked(Certificate cert) { in isRevoked()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509TrustManagerImpl.java40 X509Certificate[] cert = new X509Certificate[0]; in getAcceptedIssuers() local
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DNameConstraints.java138 private byte[] getExtensionValue(X509Certificate cert, String OID) { in getExtensionValue()
165 public boolean isAcceptable(X509Certificate cert) { in isAcceptable()
/libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/
DCertBlacklistTest.java219 private static PublicKey createPublicKey(String cert) throws Exception { in createPublicKey()
226 private static BigInteger createSerialNumber(String cert) throws Exception { in createSerialNumber()
448 private static void printHash(String cert) throws Exception { in printHash()
452 private static void printSerial(String cert) throws Exception { in printSerial()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyStoreSpi.java80 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry()
124 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
DTestKeyStoreSpi.java83 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
186 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry()
DMyKeyStore.java125 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry()
174 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
/libcore/luni/src/main/java/java/security/
DKeyStoreSpi.java145 Certificate cert) throws KeyStoreException; in engineSetCertificateEntry()
214 public abstract String engineGetCertificateAlias(Certificate cert); in engineGetCertificateAlias()

12