/libcore/luni/src/main/java/java/security/cert/ |
CRL.java | 27 public abstract class CRL { 28 // The CRL type 35 * the type for the CRL. 37 protected CRL(String type) { 42 * Returns the type of this CRL. 44 * @return the type of this CRL. 51 * Returns whether the specified certificate is revoked by this CRL. 55 * @return {@code true} if the certificate is revoked by this CRL, otherwise
|
CRLSelector.java | 21 * The interface specification for determining whether a CRL meets some criteria 22 * to select CRL objects among a set of {@code CRL}s. 25 * criteria for selecting {@code CRL}s from a {@code CertStore}. 28 * @see CRL 41 * CRL. 43 * @param crl 44 * the CRL to be evaluated. 45 * @return {@code true} if the CRL matches the criteria, {@code false} 48 public boolean match(CRL crl) [all...] |
CertStoreSpi.java | 58 * Returns the list of {@code CRL}s for the specified {@code CRLSelector} 64 * @return the list of {@code CRL}s that match the criteria of the specified 69 public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector)
|
CertificateFactorySpi.java | 67 * Generates and initializes a <i>Certificate Revocation List</i> (CRL) from 71 * the stream from where data is read to create the CRL. 72 * @return an CRL instance. 76 public abstract CRL engineGenerateCRL(InputStream inStream) 81 * List</i> (CRL) from the provided input stream. 89 public abstract Collection<? extends CRL>
|
CertificateFactory.java | 277 * Generates and initializes a <i>Certificate Revocation List</i> (CRL) from 281 * the stream from where data is read to create the CRL. 282 * @return an initialized CRL. 286 public final CRL generateCRL(InputStream inStream) throws CRLException { 292 * List</i> (CRL) from the provided input stream. 300 public final Collection<? extends CRL> generateCRLs(InputStream inStream)
|
X509CRL.java | 34 * Abstract base class for X.509 certificate revocation lists (CRL). 36 * More information regarding CRL can be found in RFC 2459, 37 * "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at <a 42 public abstract class X509CRL extends CRL implements X509Extension { 75 * Returns the hashcode of this CRL instance. 93 * Returns this CRL in ASN.1 DER encoded form. 95 * @return this CRL in ASN.1 DER encoded form. 103 * Verifies this CRL by verifying that this CRL was signed with the 107 * the public key to verify this CRL with 176 X509CRL crl = (X509CRL) factory local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CRLTest.java | 27 import java.security.cert.CRL; 33 * Tests for <code>java.security.cert.CRL</code> fields and methods 47 * Test for <code>CRL(String type)</code> constructor<br> 51 CRL crl = new MyCRL(validValues[i]); local 52 assertEquals(validValues[i], crl.getType()); 56 CRL crl = new MyCRL(invalidValues[i]); local 57 assertEquals(invalidValues[i], crl.getType()); 61 CRL crl = new MyCRL(null) local 73 CRL crl = new MyCRL("TEST_TYPE"); local 82 CRL crl = new MyCRL(null); local 96 CRL crl = new MyCRL("TEST_TYPE"); local 104 CRL crl = new MyCRL("TEST_TYPE"); local [all...] |
CertStoreSpiTest.java | 31 import java.security.cert.CRL; 81 public boolean match (CRL crl) { 89 public boolean match (Certificate crl) {
|
CertificateFactorySpiTest.java | 33 import java.security.cert.CRL; 93 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais); 94 assertNull("Not null CRL", ccCRL); 101 Collection<? extends CRL> colCRL = certFactorySpi.engineGenerateCRLs(bais); 102 assertNull("Not null CRL", colCRL); 165 CRL crl = certFactorySpi.engineGenerateCRL(dis); local 166 assertNull("Result must be null", crl); 167 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); 235 CRL crl = certFactorySpi.engineGenerateCRL(dis) local [all...] |
CertStore2Test.java | 10 import java.security.cert.CRL; 251 Collection<? extends CRL> ls = certStore.getCRLs(null); 258 Collection<? extends CRL> ls = certStore.getCRLs(new MyCRLSelector()); 295 public boolean match(CRL crl) { 305 public boolean match(CRL crl) { 328 public boolean match(Certificate crl) { 354 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) 360 return new ArrayList<CRL>(); [all...] |
CertificateFactory4Test.java | 33 import java.security.cert.CRL; 49 private static final String[] CRL_URLS = new String[] { "Bug93893-1.crl", 50 "Bug93893-2.crl", "Bug94404-DER.crl" }; 52 private static final String[] CRLCOLLECTION_URLS = new String[] { "Bug94404-PKCS7.crl" }; 117 CRL crl = fact.generateCRL(is); local 118 assertNotNull("The CRL in \"" + certUrl.toExternalForm() 119 + "\" were not parsed correctly", crl); 138 Collection<? extends CRL> crls = fact.generateCRLs(is) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCRL.java | 24 import java.security.cert.CRL; 28 * Stub class for <code>java.security.cert.CRL</code> tests 31 public class MyCRL extends CRL { 53 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate)
|
MyCertificateFactorySpi.java | 26 import java.security.cert.CRL; 81 public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCRL.java | 25 import java.security.cert.CRL; 29 * Stub class for <code>java.security.cert.CRL</code> tests 32 public class MyCRL extends CRL { 54 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate)
|
MyCertStoreSpi.java | 26 import java.security.cert.CRL; 59 public Collection<CRL> engineGetCRLs(CRLSelector selector)
|
MyCertificateFactorySpi.java | 27 import java.security.cert.CRL; 83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CRLTest.java | 24 import java.security.cert.CRL; 31 * Tests for <code>java.security.cert.CRL</code> fields and methods 50 * Assertion: returns <code>CRL</code> type 53 CRL crl = new MyCRL("TEST_TYPE"); local 54 assertEquals("TEST_TYPE", crl.getType()); 59 * Assertion: returns <code>CRL</code> type 62 CRL crl = new MyCRL(null); local 63 assertNull(crl.getType()) 76 CRL crl = new MyCRL("TEST_TYPE"); local 84 CRL crl = new MyCRL("TEST_TYPE"); local [all...] |
CertStoreSpiTest.java | 26 import java.security.cert.CRL; 89 public boolean match (CRL crl) { 97 public boolean match (Certificate crl) {
|
CertificateFactorySpiTest.java | 28 import java.security.cert.CRL; 102 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais); 103 assertNull("Not null CRL", ccCRL); 112 assertNull("Not null CRL", colCRL); 175 CRL crl = certFactorySpi.engineGenerateCRL(dis); local 176 assertNull("Result must be null", crl); 245 CRL crl = certFactorySpi.engineGenerateCRL(dis); local 246 assertNull("Result must be null", crl); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertStoreCollectionSpi.java | 4 import java.security.cert.CRL; 83 if (obj instanceof CRL) 95 if ((obj instanceof CRL) && selector.match((CRL)obj))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 6 import java.security.cert.CRL; 39 private static final PEMUtil PEM_CRL_PARSER = new PEMUtil("CRL"); 106 protected CRL createCRL(CertificateList c) 112 private CRL readPEMCRL( 127 private CRL readDERCRL( 149 private CRL getCRL() 244 * Generates a certificate revocation list (CRL) object and initializes 247 public CRL engineGenerateCRL( 314 * a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the 322 CRL crl local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 28 import java.security.cert.CRL; 52 * mechanisms allowing to speed up repeated Certificate/CRL 62 // number of leading/trailing bytes used for crl hash computation 64 // crl cache 104 // decode PEM, retrieve CRL 108 // retrieve CRL 234 public CRL engineGenerateCRL(InputStream inStream) 247 // check whether the provided crl is in PEM encoded form 249 // decode PEM, retrieve CRL 253 // retrieve CRL [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertFactoryImplTest.java | 25 import java.security.cert.CRL; 108 CRL crl; local 114 crl = certFactory.engineGenerateCRL(bais); 115 assertNotNull("First generated CRL is null", crl); 116 crl = certFactory.engineGenerateCRL(bais); 117 assertNotNull("Second generated CRL is null", crl); 129 crl = certFactory.engineGenerateCRL(bais) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509CRLStoreSelector.java | 11 import java.security.cert.CRL; 98 X509CRL crl = (X509CRL)obj; local 102 byte[] bytes = crl 141 byte[] idp = crl 163 public boolean match(CRL crl) 165 return match((Object)crl); 169 * Returns if this selector must match CRLs with the delta CRL indicator 172 * @return Returns <code>true</code> if only CRLs with the delta CRL 181 * If this is set to <code>true</code> the CRL reported contains the delt [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertificateFactory.java | 22 import java.security.cert.CRL; 58 * The code for X509 Certificates and CRL is pretty much the same. We use 287 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 296 public Collection<? extends CRL> engineGenerateCRLs(InputStream inStream) throws CRLException {
|