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 Certific ate 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.
|
IDENT, POINTScritical, 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 freshest CRL extension.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(java.io.OutputStream out)
Writes the extension to the DerOutputStream.
|
delete, encode, get, getElements, getName, set, toStringencode, equals, getExtensionId, getExtensionValue, hashCode, isCriticalpublic static final java.lang.String NAME
public FreshestCRLExtension(java.util.List<DistributionPoint> distributionPoints) throws java.io.IOException
distributionPoints - the list of delta CRL distribution points.java.io.IOExceptionpublic 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(java.io.OutputStream out)
throws java.io.IOException
encode in interface CertAttrSet<java.lang.String>encode in class CRLDistributionPointsExtensionout - the DerOutputStream to write the extension to.java.io.IOException - on encoding errors.Copyright © 2020. All Rights Reserved.