public class DeltaCRLIndicatorExtension extends CRLNumberExtension
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)
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
critical, extensionId, extensionValue| Constructor and Description |
|---|
DeltaCRLIndicatorExtension(java.math.BigInteger crlNum)
Creates a delta CRL indicator extension with the BigInteger value .
|
DeltaCRLIndicatorExtension(java.lang.Boolean critical,
java.lang.Object value)
Creates the extension from the passed DER encoded value of the same.
|
DeltaCRLIndicatorExtension(int crlNum)
Creates a delta CRL indicator extension with the integer value .
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(com.tencent.kona.sun.security.util.DerOutputStream out)
Writes the extension to the DerOutputStream.
|
encode, getCrlNumber, getName, toStringencode, equals, getExtensionId, getExtensionValue, getId, getValue, hashCode, isCritical, newExtensionpublic static final java.lang.String NAME
public DeltaCRLIndicatorExtension(int crlNum)
crlNum - the value to be set for the extension.public DeltaCRLIndicatorExtension(java.math.BigInteger crlNum)
crlNum - the value to be set for the extension.public DeltaCRLIndicatorExtension(java.lang.Boolean critical,
java.lang.Object value)
throws java.io.IOException
critical - true if the extension is to be treated as critical.value - an array of DER encoded bytes of the actual value.java.lang.ClassCastException - if value is not an array of bytesjava.io.IOException - on decoding error.public void encode(com.tencent.kona.sun.security.util.DerOutputStream out)
encode in interface com.tencent.kona.sun.security.util.DerEncoderencode in class CRLNumberExtensionout - the DerOutputStream to write the extension to.java.io.IOException - on encoding errors.