APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.x509

public Class DeltaCRLIndicatorExtension

extends CRLNumberExtension
Class Inheritance
Imports
sun.security.util.DerOutputStream, java.io.IOException, java.math.BigInteger

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 Certificate 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)
Since
1.6

Field Summary

Modifier and TypeField and Description
private static final String
public static final String

Constructor Summary

AccessConstructor and Description
public
DeltaCRLIndicatorExtension(int
the value to be set for the extension.
crlNum
)

Creates a delta CRL indicator extension with the integer value .

public
DeltaCRLIndicatorExtension(BigInteger
the value to be set for the extension.
crlNum
)

Creates a delta CRL indicator extension with the BigInteger value .

public
DeltaCRLIndicatorExtension(Boolean
true if the extension is to be treated as critical.
critical
,
Object
an array of DER encoded bytes of the actual value.
value
)

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

Method Summary

Modifier and TypeMethod and Description
public void
encode(DerOutputStream
the DerOutputStream to write the extension to.
out
)

Overrides sun.security.x509.CRLNumberExtension.encode.

Implements sun.security.util.DerEncoder.encode.

Writes the extension to the DerOutputStream.

Inherited from sun.security.x509.CRLNumberExtension:
encodegetCrlNumbergetNametoString

Field Detail

LABELback to summary
private static final String LABEL

Hides sun.security.x509.CRLNumberExtension.LABEL.

NAMEback to summary
public static final String NAME

Hides sun.security.x509.CRLNumberExtension.NAME.

Constructor Detail

DeltaCRLIndicatorExtensionback to summary
public DeltaCRLIndicatorExtension(int crlNum)

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

Parameters
crlNum:int

the value to be set for the extension.

DeltaCRLIndicatorExtensionback to summary
public DeltaCRLIndicatorExtension(BigInteger crlNum)

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

Parameters
crlNum:BigInteger

the value to be set for the extension.

DeltaCRLIndicatorExtensionback to summary
public DeltaCRLIndicatorExtension(Boolean critical, Object value) throws IOException

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

Parameters
critical:Boolean

true if the extension is to be treated as critical.

value:Object

an array of DER encoded bytes of the actual value.

Exceptions
IOException:
on decoding error.
ClassCastException:
if value is not an array of bytes

Method Detail

encodeback to summary
public void encode(DerOutputStream out)

Overrides sun.security.x509.CRLNumberExtension.encode.

Implements sun.security.util.DerEncoder.encode.

Writes the extension to the DerOutputStream.

Parameters
out:DerOutputStream

the DerOutputStream to write the extension to.

Annotations
@Override