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

public Class FreshestCRLExtension

extends CRLDistributionPointsExtension
Class Inheritance
Imports
sun.security.util.DerOutputStream, java.io.IOException, java.util.List

Represents the Freshest CRL Extension.

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

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public
FreshestCRLExtension(List<DistributionPoint>
the list of delta CRL distribution points.
distributionPoints
)

Creates a fresh CRL extension.

public
FreshestCRLExtension(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.CRLDistributionPointsExtension.encode.

Implements sun.security.util.DerEncoder.encode.

Writes the extension to the DerOutputStream.

Inherited from sun.security.x509.CRLDistributionPointsExtension:
encodegetDistributionPointsgetNametoString

Field Detail

NAMEback to summary
public static final String NAME

Hides sun.security.x509.CRLDistributionPointsExtension.NAME.

Attribute name.

Constructor Detail

FreshestCRLExtensionback to summary
public FreshestCRLExtension(List<DistributionPoint> distributionPoints)

Creates a fresh CRL extension. The criticality is set to false.

Parameters
distributionPoints:List<DistributionPoint>

the list of delta CRL distribution points.

FreshestCRLExtensionback to summary
public FreshestCRLExtension(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.

Method Detail

encodeback to summary
public void encode(DerOutputStream out)

Overrides sun.security.x509.CRLDistributionPointsExtension.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