Home
last modified time | relevance | path

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

1234

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKSTrustedCertificateEntryTest.java48 Certificate cert = null; in testTrustedCertificateEntry() local
71 Certificate cert = new MyCertificate("TEST", new byte[10]); in testSecretKeyEntry_nullAttributes() local
84 Certificate cert = new MyCertificate("TEST", new byte[10]); in testGetTrustedCertificate() local
95 Certificate cert = new MyCertificate("TEST", new byte[10]); in testGetAttributes() local
130 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.java47 X509Certificate cert; field in Identity2Test.CertificateImpl
49 public CertificateImpl(X509Certificate cert) { in CertificateImpl()
248 X509Certificate cert[] = new X509Certificate[1]; in test_certificates() local
270 X509Certificate cert[] = new X509Certificate[1]; in test_removeCertificateLjava_security_Certificate() local
304 X509Certificate cert[] = new X509Certificate[1]; in test_equalsLjava_lang_Object() local
324 X509Certificate cert[] = new X509Certificate[1]; in test_identityEqualsLjava_security_Identity() local
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CertImpl.java96 java.security.cert.X509Certificate cert, in verify()
319 java.security.cert.X509Certificate cert) in getExtendedKeyUsage()
344 java.security.cert.X509Certificate cert) in getSubjectAlternativeNames()
355 java.security.cert.X509Certificate cert) in getIssuerAlternativeNames()
376 java.security.cert.X509Certificate cert, boolean getIssuer) throws java.lang.Exception { in getX500Principal()
381 java.security.cert.X509Certificate cert) { in getSubjectX500Principal()
386 java.security.cert.X509Certificate cert) { in getIssuerX500Principal()
390 public static byte[] getEncodedInternal(java.security.cert.Certificate cert) in getEncodedInternal()
395 public static sun.security.x509.X509CertImpl toImpl(java.security.cert.X509Certificate cert) in toImpl()
400 public static boolean isSelfIssued(java.security.cert.X509Certificate cert) { in isSelfIssued()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXCertPathChecker.java164 public abstract void check(Certificate cert, in check()
175 public void check(Certificate cert) throws CertPathValidatorException { in check()
DCertSelector.java58 boolean match(Certificate cert); in match()
DCertPathChecker.java76 void check(Certificate cert) throws CertPathValidatorException; in check()
DCRL.java87 public abstract boolean isRevoked(Certificate cert); in isRevoked()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DBasicChecker.java138 public void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
158 private void verifySignature(X509Certificate cert) in verifySignature()
186 private void verifyTimestamp(X509Certificate cert) in verifyTimestamp()
210 private void verifyNameChaining(X509Certificate cert) in verifyNameChaining()
DBuilder.java99 abstract void verifyCert(X509Certificate cert, State currentState, in verifyCert()
111 abstract boolean isPathCompleted(X509Certificate cert); in isPathCompleted()
119 abstract void addCertToPath(X509Certificate cert, in addCertToPath()
281 X509Certificate cert, GeneralNameInterface target) in targetDistance()
DKeyChecker.java106 public void check(Certificate cert, Collection<String> unresCritExts) in check()
141 static void verifyCAKeyUsage(X509Certificate cert) in verifyCAKeyUsage()
DOCSP.java114 public static RevocationStatus check(X509Certificate cert, in check()
152 public static RevocationStatus check(X509Certificate cert, in check()
164 public static RevocationStatus check(X509Certificate cert, in check()
305 public static URI getResponderURI(X509Certificate cert) { in getResponderURI()
DForwardState.java62 X509CertImpl cert; field in ForwardState
162 public void updateState(X509Certificate cert) in updateState()
DVertex.java52 private X509Certificate cert; field in Vertex
62 Vertex(X509Certificate cert) { in Vertex()
DState.java50 public void updateState(X509Certificate cert) in updateState()
DConstraintsChecker.java114 public void check(Certificate cert, Collection<String> unresCritExts) in check()
294 static int mergeBasicConstraints(X509Certificate cert, int maxPathLength) { in mergeBasicConstraints()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHostnameVerifierTest.java168 String cert = "-----BEGIN CERTIFICATE-----\n" in testWildcardsCannotMatchIpAddresses() local
207 String cert = "-----BEGIN CERTIFICATE-----\n" in testWildcardsDoesNotNeedTwoDots() local
240 String cert = "-----BEGIN CERTIFICATE-----\n" in testSubjectAltName() local
277 String cert = "-----BEGIN CERTIFICATE-----\n" in testSubjectAltNameWithWildcard() local
DHttpsURLConnectionTest.java92 Certificate[] cert = con.getLocalCertificates(); in test_getLocalCertificates() local
180 Certificate[] cert = con.getServerCertificates(); in test_getServerCertificates() local
276 Certificate cert = cf.generateCertificate(bis); in getLocalCertificates() local
291 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.java280 MyX509Certificate cert = new MyX509Certificate() { in testGetIssuerX500Principal() local
293 MyX509Certificate cert = new MyX509Certificate() { in testGetSubjectX500Principal() local
306 X509Certificate cert = generateCert(CERT_CORRECT); in testGetExtendedKeyUsage() local
512 X509Certificate cert = (X509Certificate) cf.generateCertificate(bais); in generateCert() local
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java520 public static void verify(X509Certificate cert, PublicKey key, in verify()
1507 public static List<String> getExtendedKeyUsage(X509Certificate cert) in getExtendedKeyUsage()
1677 public static Collection<List<?>> getSubjectAlternativeNames(X509Certificate cert) in getSubjectAlternativeNames()
1740 public static Collection<List<?>> getIssuerAlternativeNames(X509Certificate cert) in getIssuerAlternativeNames()
1863 private static X500Principal getX500Principal(X509Certificate cert, in getX500Principal()
1890 public static X500Principal getSubjectX500Principal(X509Certificate cert) { in getSubjectX500Principal()
1902 public static X500Principal getIssuerX500Principal(X509Certificate cert) { in getIssuerX500Principal()
1916 public static byte[] getEncodedInternal(Certificate cert) in getEncodedInternal()
1930 public static X509CertImpl toImpl(X509Certificate cert) in toImpl()
1943 public static boolean isSelfIssued(X509Certificate cert) { in isSelfIssued()
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java258 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectOnlyCert() local
283 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectAltOnlyCert() local
308 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectWithAltNamesCert() local
337 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testSubjectWithWildAltNamesCert() local
366 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testWildAltNameOnlyCert() local
392 X509Certificate cert = parseCertificate("-----BEGIN CERTIFICATE-----\n" in testAltIpOnlyCert() local
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertificatePair.java56 public void setForward(java.security.cert.X509Certificate cert) in setForward()
61 public void setReverse(java.security.cert.X509Certificate cert) in setReverse()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCRL.java56 public boolean isRevoked(Certificate cert) { in isRevoked()
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/
DCertBlocklistTest.java217 private static PublicKey createPublicKey(String cert) throws Exception { in createPublicKey()
224 private static BigInteger createSerialNumber(String cert) throws Exception { in createSerialNumber()
431 private static void printHash(String cert) throws Exception { in printHash()
435 private static void printSerial(String cert) throws Exception { in printSerial()

1234