public class OldCRLDistributionPoints extends CRLDistributionPoints
OldCRLDistributionPoints Extension.
The OldCRLDistributionPoints extension is obsolete, and has been replaced
by the CRLDistributionPoints extension. It is provided here for backward
compatibility with older certificates only.
The OldCRLDistributionPoints OID is "2.5.29.25".
The ASN.1 definition of the OldCRLDistributionPoints extension is specified
as follows:
oldCRLDistributionPoints ::= {
OldCRLDistPointsSyntax }
OldCRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF OldDistributionPoint
Please refer to the OldDistributionPoint description for structure details.
This class provides several methods for getting (but not setting) the component values of an
OldCRLDistributionPoints extension object.
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid |
critical| Constructor and Description |
|---|
OldCRLDistributionPoints()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Enumeration |
getDistributionPoints()
Returns an enumeration of the distribution points in this
OldCRLDistributionPoints
extension. |
ObjectID |
getObjectID()
Returns the object ID of this
OldCRLDistributionPoints extension |
int |
hashCode()
Returns a hashcode for this identity.
|
void |
init(ASN1Object obj)
Inits this
OldCRLDistributionPoints implementation with an ASN1Object
representing the value of this extension. |
java.lang.String |
toString()
Returns a string that represents the contents of this
OldCRLDistributionPoints extension. |
addDistributionPoint, removeAllDistributionPoints, toASN1ObjectgetName, isCritical, setCriticalpublic static final ObjectID oid
public OldCRLDistributionPoints()
The OldCRLDistributionPoints extension is obsolete and has been replaced
by the CRLDistributionPoints extension in the current X.509 specification.
Generating a new OldCRLDistributionPoints extension is not supported.
This class is provided for backward compatibility with existing certificates only.
public ObjectID getObjectID()
OldCRLDistributionPoints extensiongetObjectID in class CRLDistributionPointspublic void init(ASN1Object obj) throws X509ExtensionException
OldCRLDistributionPoints implementation with an ASN1Object
representing the value of this extension.
The ASN1Object is the extensionValue from ASN.1 type "Extension" representing
the sequence of OldDistributionPoint values in this extension.
init in class CRLDistPointsSyntaxobj - the extensionValue as an ASN1ObjectX509ExtensionException - if the extension could not be parsedpublic java.util.Enumeration getDistributionPoints()
OldCRLDistributionPoints
extension. Each distribution point is an OldDistributionPoint object.getDistributionPoints in class CRLDistPointsSyntaxpublic int hashCode()
hashCode in class CRLDistributionPointspublic java.lang.String toString()
OldCRLDistributionPoints extension.toString in class CRLDistPointsSyntax