public class

DeltaCRLIndicatorExtension

extends CRLNumberExtension
java.lang.Object
   ↳ sun.security.x509.Extension
     ↳ sun.security.x509.CRLNumberExtension
       ↳ sun.security.x509.DeltaCRLIndicatorExtension

Class Overview

Represents the Delta CRL Indicator Extension.

The extension identifies a CRL as being a delta CRL. Delta CRLs contain updates to revocation information previously distributed, rather than all the information that would appear in a complete CRL. The extension contains a CRL number that identifies the CRL, complete for a given scope, that was used as the starting point in the generation of this delta CRL.

The extension is defined in Section 5.2.4 of Internet X.509 PKI Certific ate and Certificate Revocation List (CRL) Profile.

Its ASN.1 definition is as follows:

     id-ce-deltaCRLIndicator OBJECT IDENTIFIER ::= { id-ce 27 }

     BaseCRLNumber ::= CRLNumber
     CRLNumber ::= INTEGER (0..MAX)
 

Summary

Constants
String NAME Attribute name.
[Expand]
Inherited Constants
From class sun.security.x509.CRLNumberExtension
[Expand]
Inherited Fields
From class sun.security.x509.Extension
Public Constructors
DeltaCRLIndicatorExtension(int crlNum)
Creates a delta CRL indicator extension with the integer value .
DeltaCRLIndicatorExtension(BigInteger crlNum)
Creates a delta CRL indictor extension with the BigInteger value .
DeltaCRLIndicatorExtension(Boolean critical, Object value)
Creates the extension from the passed DER encoded value of the same.
Public Methods
void encode(OutputStream out)
Writes the extension to the DerOutputStream.
[Expand]
Inherited Methods
From class sun.security.x509.CRLNumberExtension
From class sun.security.x509.Extension
From class java.lang.Object
From interface sun.security.x509.CertAttrSet

Constants

public static final String NAME

Attribute name.

Constant Value: "DeltaCRLIndicator"

Public Constructors

public DeltaCRLIndicatorExtension (int crlNum)

Creates a delta CRL indicator extension with the integer value . The criticality is set to true.

Parameters
crlNum the value to be set for the extension.
Throws
IOException

public DeltaCRLIndicatorExtension (BigInteger crlNum)

Creates a delta CRL indictor extension with the BigInteger value . The criticality is set to true.

Parameters
crlNum the value to be set for the extension.
Throws
IOException

public DeltaCRLIndicatorExtension (Boolean critical, Object value)

Creates the extension from the passed DER encoded value of the same.

Parameters
critical true if the extension is to be treated as critical.
value an array of DER encoded bytes of the actual value.
Throws
ClassCastException if value is not an array of bytes
IOException on decoding error.

Public Methods

public void encode (OutputStream out)

Writes the extension to the DerOutputStream.

Parameters
out the DerOutputStream to write the extension to.
Throws
IOException on encoding errors.