public class OldDistributionPoint
extends java.lang.Object
OldDistributionPoint as used by the OldCrlDistributionPoints
extension. The entire hierarchy has been replaced by the X509 CrlDistributionPoints extension and
its sub-structures, but the old versions are required to parse some existing certificates.
The OldDistributionPoint structure is defined as:
OldDistributionPoint ::= SEQUENCE {
distributionPoint OldDistributionPointName,
reasons ReasonFlags OPTIONAL }
The distributionPoint is an OldDistributionPointName structure. See the corresponding
documentation for structure details.
The reasons flags are defined as:
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
caCompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6) }
Standard set and get methods are provided for each field.
CRLDistributionPoints,
Name| Constructor and Description |
|---|
OldDistributionPoint()
Default constructor.
|
OldDistributionPoint(ASN1Object obj)
Implements the ASN1Type interface.
|
| Modifier and Type | Method and Description |
|---|---|
OldDistributionPointName |
getDistributionPoint()
Returns the
name value of this OldDistributionPoint
structure specifying the name of the distribution point. |
Name |
getOldDistributionPointName()
Returns the
name value of this OldDistributionPoint
structure specifying the name of the distribution point. |
java.lang.String |
toString()
Returns a string that represents the contents of this
OldDistributionPoint structure. |
public OldDistributionPoint()
Generating a new OldDistributionPoint structure is not supported.
This class is provided for backward compatibility with existing certificates only.
public OldDistributionPoint(ASN1Object obj) throws CodingException
The given ASN1Object is parsed for the name and reasons fields.
obj - the OldDistributionPoint as an ASN1ObjectCodingException - if the given ASN1Object is not an OldDistributionPointpublic Name getOldDistributionPointName()
name value of this OldDistributionPoint
structure specifying the name of the distribution point.name value.public OldDistributionPointName getDistributionPoint()
name value of this OldDistributionPoint
structure specifying the name of the distribution point.name value.public java.lang.String toString()
OldDistributionPoint structure.toString in class java.lang.Object