/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSTrustedCertificateEntryTest.java | 46 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
|
D | KeyStore2Test.java | 140 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 …]
|
D | Identity2Test.java | 48 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/ |
D | DefaultHostnameVerifierTest.java | 153 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/ |
D | HostnameVerifierTest.java | 167 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
|
D | HttpsURLConnectionTest.java | 85 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/ |
D | PKIXBuilderParametersTest.java | 245 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
|
D | X509Certificate2Test.java | 277 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
|
D | CertificateFactory3Test.java | 105 Certificate cert = certFs[0] in testGenerateCertificates() local 126 Certificate cert = certFs[0] in testGenerateCertPath01() local
|
D | X509CRLTest.java | 86 public boolean isRevoked(Certificate cert) { in isRevoked() 286 X509Certificate cert = (X509Certificate) cf.generateCertificate(certArray); in testGetRevokedCertificate() local
|
D | CRLTest.java | 115 public boolean isRevoked(Certificate cert) { in isRevoked()
|
D | PKIXCertPathCheckerTest.java | 89 public void check(Certificate cert, in check()
|
D | CertificateFactorySpiTest.java | 148 Certificate cert = certFactorySpi in testCertificateFactorySpi02() local 218 Certificate cert = certFactorySpi in testCertificateFactorySpi03() local
|
/libcore/luni/src/main/java/java/security/cert/ |
D | CertSelector.java | 48 public boolean match(Certificate cert); in match()
|
D | X509Certificate.java | 188 X509Certificate cert = (X509Certificate) factory in getIssuerX500Principal() local 244 X509Certificate cert = (X509Certificate) factory in getSubjectX500Principal() local
|
D | CRL.java | 58 public abstract boolean isRevoked(Certificate cert); in isRevoked()
|
D | PKIXCertPathChecker.java | 109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCRL.java | 56 public boolean isRevoked(Certificate cert) { in isRevoked()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509TrustManagerImpl.java | 40 X509Certificate[] cert = new X509Certificate[0]; in getAcceptedIssuers() local
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | NameConstraints.java | 138 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/ |
D | CertBlacklistTest.java | 219 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/ |
D | MyKeyStoreSpi.java | 80 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry() 124 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
|
D | TestKeyStoreSpi.java | 83 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias() 186 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry()
|
D | MyKeyStore.java | 125 public void engineSetCertificateEntry(String alias, Certificate cert) in engineSetCertificateEntry() 174 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
|
/libcore/luni/src/main/java/java/security/ |
D | KeyStoreSpi.java | 145 Certificate cert) throws KeyStoreException; in engineSetCertificateEntry() 214 public abstract String engineGetCertificateAlias(Certificate cert); in engineGetCertificateAlias()
|