public class FreshestCRLExtension extends CRLDistributionPointsExtension
The extension identifies how delta CRL information for a complete CRL is obtained.
The extension is defined in Section 5.2.6 of Internet X.509 PKI Certificate and Certificate Revocation List (CRL) Profile.
Its ASN.1 definition is as follows:
id-ce-freshestCRL OBJECT IDENTIFIER ::= { id-ce 46 }
FreshestCRL ::= CRLDistributionPoints
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
Attribute name.
|
critical, extensionId, extensionValue| Constructor and Description |
|---|
FreshestCRLExtension(java.lang.Boolean critical,
java.lang.Object value)
Creates the extension from the passed DER encoded value of the same.
|
FreshestCRLExtension(java.util.List<DistributionPoint> distributionPoints)
Creates a fresh CRL extension.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(com.tencent.kona.sun.security.util.DerOutputStream out)
Writes the extension to the DerOutputStream.
|
encode, getDistributionPoints, getName, toStringencode, equals, getExtensionId, getExtensionValue, getId, getValue, hashCode, isCritical, newExtensionpublic static final java.lang.String NAME
public FreshestCRLExtension(java.util.List<DistributionPoint> distributionPoints)
distributionPoints - the list of delta CRL distribution points.public FreshestCRLExtension(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.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 CRLDistributionPointsExtensionout - the DerOutputStream to write the extension to.