Searched refs:xcert (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509TrustManagerTest.java | 18 X509Certificate[] xcert = { pemCert }; in setX509Certificate() local 19 return xcert; in setX509Certificate() 26 X509Certificate[] xcert = { pemCert }; in setInvalid() local 27 return xcert; in setInvalid() 32 X509Certificate[] xcert = null; in test_checkClientTrusted_01() local 35 xtm.checkClientTrusted(xcert, "SSL"); in test_checkClientTrusted_01() 40 xcert = new X509Certificate[0]; in test_checkClientTrusted_01() 42 xtm.checkClientTrusted(xcert, "SSL"); in test_checkClientTrusted_01() 47 xcert = setX509Certificate(); in test_checkClientTrusted_01() 49 xtm.checkClientTrusted(xcert, null); in test_checkClientTrusted_01() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | AdaptableX509CertSelector.java | 156 X509Certificate xcert = (X509Certificate)cert; in match() local 159 if (!matchSubjectKeyID(xcert)) { in match() 172 int version = xcert.getVersion(); in match() 174 if (!serial.equals(xcert.getSerialNumber())) { in match() 183 xcert.checkValidity(startDate); in match() 190 xcert.checkValidity(endDate); in match() 210 private boolean matchSubjectKeyID(X509Certificate xcert) { in matchSubjectKeyID() argument 215 byte[] extVal = xcert.getExtensionValue("2.5.29.14"); in matchSubjectKeyID() 220 + xcert.getSubjectX500Principal()); in matchSubjectKeyID()
|
D | RevocationChecker.java | 341 private void check(X509Certificate xcert, 348 "\n SN: " + Debug.toHexString(xcert.getSerialNumber()) + 349 "\n Subject: " + xcert.getSubjectX500Principal() + 350 "\n Issuer: " + xcert.getIssuerX500Principal()); 353 if (onlyEE && xcert.getBasicConstraints() != -1) { 363 checkOCSP(xcert, unresolvedCritExts); 367 checkCRLs(xcert, unresolvedCritExts, null, 394 checkCRLs(xcert, unresolvedCritExts, null, 398 checkOCSP(xcert, unresolvedCritExts); 420 updateState(xcert);
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 2003 X509Certificate xcert = (X509Certificate)cert; in match() local 2007 + (xcert.getSerialNumber()).toString(16) + "\n Issuer: " in match() 2008 + xcert.getIssuerDN() + "\n Subject: " + xcert.getSubjectDN() in match() 2014 if (!x509Cert.equals(xcert)) { in match() 2025 if (!serialNumber.equals(xcert.getSerialNumber())) { in match() 2036 if (!issuer.equals(xcert.getIssuerX500Principal())) { in match() 2047 if (!subject.equals(xcert.getSubjectX500Principal())) { in match() 2059 xcert.checkValidity(certificateValid); in match() 2071 byte[] certKey = xcert.getPublicKey().getEncoded(); in match() 2081 boolean result = matchBasicConstraints(xcert) in match() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CRLImpl.java | 612 X509Certificate xcert = (X509Certificate) cert; in isRevoked() local 613 X509IssuerSerial issuerSerial = new X509IssuerSerial(xcert); in isRevoked()
|