/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 | 278 * Generates and initializes a <i>Certificate Revocation List</i> (CRL) from 282 * the stream from where data is read to create the CRL. 283 * @return an initialized CRL. 287 public final CRL generateCRL(InputStream inStream) throws CRLException { 293 * List</i> (CRL) from the provided input stream. 301 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...] |
/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 30 public class MyCRL extends CRL { 52 * @see java.security.cert.CRL#isRevoked(java.security.cert.Certificate)
|
MyCertificateFactorySpi.java | 26 import java.security.cert.CRL; 80 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) { 99 public boolean match(Certificate crl) {
|
CertificateFactorySpiTest.java | 28 import java.security.cert.CRL; 101 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais); 102 assertNull("Not null CRL", ccCRL); 111 assertNull("Not null CRL", colCRL); 174 CRL crl = certFactorySpi.engineGenerateCRL(dis); local 175 assertNull("Result must be null", crl); 244 CRL crl = certFactorySpi.engineGenerateCRL(dis); local 245 assertNull("Result must be null", crl); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
PKIXCRLStore.java | 3 import java.security.cert.CRL; 10 public interface PKIXCRLStore<T extends CRL>
|
PKIXCRLStoreSelector.java | 4 import java.security.cert.CRL; 25 public class PKIXCRLStoreSelector<T extends CRL> 61 * If this is set to <code>true</code> the CRL reported contains the delta 62 * CRL indicator CRL extension. 67 * @param deltaCRLIndicator <code>true</code> if the delta CRL indicator 68 * extension must be in the CRL. 78 * Sets the maximum base CRL number. Setting to <code>null</code> disables 81 * This is only meaningful for delta CRLs. Complete CRLs must have a CRL 83 * corresponding CRL 174 X509CRL crl = (X509CRL)obj; local [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/jetty/src/java/org/eclipse/jetty/util/security/ |
CertificateUtils.java | 23 import java.security.cert.CRL; 70 public static Collection<? extends CRL> loadCRL(String crlPath) throws Exception 72 Collection<? extends CRL> crlList = null;
|
CertificateValidator.java | 26 import java.security.cert.CRL; 48 * Allows specifying Certificate Revocation List (CRL), as well as enabling 49 * CRL Distribution Points Protocol (CRLDP) certificate extension support, 61 private Collection<? extends CRL> _crls; 65 /** CRL Distribution Points (CRLDP) support */ 78 public CertificateValidator(KeyStore trustStore, Collection<? extends CRL> crls) 265 public Collection<? extends CRL> getCrls() 292 * @return true if CRL Distribution Points support is enabled 300 /** Enables CRL Distribution Points Support
|
/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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509CRLStoreSelector.java | 5 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...] |