< prev index next >

src/java.base/share/classes/java/security/cert/X509CRL.java

Print this page




  85  *         userCertificate         CertificateSerialNumber,
  86  *         revocationDate          ChoiceOfTime,
  87  *         crlEntryExtensions      Extensions OPTIONAL
  88  *                                 -- if present, must be v2
  89  *         }  OPTIONAL,
  90  *     crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
  91  *                                  -- if present, must be v2
  92  *     }
  93  * </pre>
  94  * <p>
  95  * CRLs are instantiated using a certificate factory. The following is an
  96  * example of how to instantiate an X.509 CRL:
  97  * <pre>{@code
  98  * try (InputStream inStream = new FileInputStream("fileName-of-crl")) {
  99  *     CertificateFactory cf = CertificateFactory.getInstance("X.509");
 100  *     X509CRL crl = (X509CRL)cf.generateCRL(inStream);
 101  * }
 102  * }</pre>
 103  *
 104  * @author Hemma Prafullchandra

 105  *
 106  *
 107  * @see CRL
 108  * @see CertificateFactory
 109  * @see X509Extension
 110  */
 111 
 112 public abstract class X509CRL extends CRL implements X509Extension {
 113 
 114     private transient X500Principal issuerPrincipal;
 115 
 116     /**
 117      * Constructor for X.509 CRLs.
 118      */
 119     protected X509CRL() {
 120         super("X.509");
 121     }
 122 
 123     /**
 124      * Compares this CRL for equality with the given




  85  *         userCertificate         CertificateSerialNumber,
  86  *         revocationDate          ChoiceOfTime,
  87  *         crlEntryExtensions      Extensions OPTIONAL
  88  *                                 -- if present, must be v2
  89  *         }  OPTIONAL,
  90  *     crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
  91  *                                  -- if present, must be v2
  92  *     }
  93  * </pre>
  94  * <p>
  95  * CRLs are instantiated using a certificate factory. The following is an
  96  * example of how to instantiate an X.509 CRL:
  97  * <pre>{@code
  98  * try (InputStream inStream = new FileInputStream("fileName-of-crl")) {
  99  *     CertificateFactory cf = CertificateFactory.getInstance("X.509");
 100  *     X509CRL crl = (X509CRL)cf.generateCRL(inStream);
 101  * }
 102  * }</pre>
 103  *
 104  * @author Hemma Prafullchandra
 105  * @since 1.2
 106  *
 107  *
 108  * @see CRL
 109  * @see CertificateFactory
 110  * @see X509Extension
 111  */
 112 
 113 public abstract class X509CRL extends CRL implements X509Extension {
 114 
 115     private transient X500Principal issuerPrincipal;
 116 
 117     /**
 118      * Constructor for X.509 CRLs.
 119      */
 120     protected X509CRL() {
 121         super("X.509");
 122     }
 123 
 124     /**
 125      * Compares this CRL for equality with the given


< prev index next >