public class OldIssuingDistributionPoint extends V3Extension
OldIssuingDistributionPoint Extension.
The OldIssuingDistributionPoint extension is obsolete, and has been replaced
by the IssuingDistributionPoint extension. It is provided here for backward
compatibility with older certificates only.
The OldIssuingDistributionPoint OID is "2.5.29.26".
The ASN.1 definition of the OldIssuingDistributionPoint extension is specified
as follows:
OldIssuingDistributionPoint ::= SEQUENCE {
distributionPoint [0] OldDistributionPointName OPTIONAL,
onlyContainsUserCerts [1] BOOLEAN DEFAULT FALSE,
onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE,
onlySomeReasons [3] ReasonFlags OPTIONAL }
If the distributionPoint field is absent the CRL must contain all revocations issued
by the CA (subject to the other constraints). Please refer to the OldDistributionPointName
description for structure details
If the onlySomeReasons field is absent the CRL must contain all revocations regardless
of reason. The reason codes are defined as follows:
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
caCompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6) }
This class provides several methods for getting (but not setting) the component values of an
OldIssuingDistributionPoint extension object.
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid |
critical| Constructor and Description |
|---|
OldIssuingDistributionPoint()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OldDistributionPointName |
getDistributionPoint()
Returns the
distributionPoint value of this OldIssuingDistributionPoint
extension specifying the location where this CRL is expected to be found. |
ObjectID |
getObjectID()
Returns the object ID of this
OldIssuingDistributionPoint extension |
boolean |
getOnlyContainsCACerts()
Returns
true if the CRL holding this OldIssuingDistributionPoint
extension contains only CA certificates. |
boolean |
getOnlyContainsUserCerts()
Returns
true if the CRL holding this OldIssuingDistributionPoint
extension contains only end-entity certificates. |
int |
getReasons()
Returns the
onlySomeReasons value of this OldIssuingDistributionPoint
extension specifying the revocation reasons supported by this CRL. |
int |
hashCode()
Returns a hashcode for this identity.
|
void |
init(ASN1Object point)
Inits this
OldIssuingDistributionPoint implementation with an ASN1Object
representing the value of this extension. |
ASN1Object |
toASN1Object()
Stub function to meet V3Extension criteria.
|
java.lang.String |
toString()
Returns a string that represents the contents of this
OldIssuingDistributionPoint extension. |
getName, isCritical, setCriticalpublic static final ObjectID oid
public OldIssuingDistributionPoint()
The OldIssuingDistributionPoint extension is obsolete and has been replaced
by the IssuingDistributionPoint extension in the current X.509 specification.
Generating a new OldIssuingDistributionPoint extension is not supported.
This class is provided for backward compatibility with existing CRLs only.
public ObjectID getObjectID()
OldIssuingDistributionPoint extensiongetObjectID in class V3Extensionpublic void init(ASN1Object point) throws X509ExtensionException
OldIssuingDistributionPoint implementation with an ASN1Object
representing the value of this extension.
The ASN1Object is the extensionValue from ASN.1 type "Extension" representing
the (optional) distributionPoint, onlyContainsUserCerts,
onlyContainsUserCerts, and the (optional) onlySomeReasons
values of this extension.
init in class V3Extensionpoint - the extensionValue as an ASN1ObjectX509ExtensionException - if the extension could not be parsedpublic ASN1Object toASN1Object()
toASN1Object in class V3Extensionpublic OldDistributionPointName getDistributionPoint()
distributionPoint value of this OldIssuingDistributionPoint
extension specifying the location where this CRL is expected to be found. If this field is not
present in the extension then the CRL must contain all revocations issued by the CA, regardless
of location.
The distributionPoint is returned as an OldDistributionPointName object.
Please refer to the OldDistributionPointName description for structure details.
distributionPoint value.public boolean getOnlyContainsUserCerts()
true if the CRL holding this OldIssuingDistributionPoint
extension contains only end-entity certificates.true if only end-entity certificates, false otherwise.public boolean getOnlyContainsCACerts()
true if the CRL holding this OldIssuingDistributionPoint
extension contains only CA certificates.true if only CA certificates, false otherwise.public int getReasons()
onlySomeReasons value of this OldIssuingDistributionPoint
extension specifying the revocation reasons supported by this CRL. If this field is not
present in the extension then the CRL must contain all revocations issued by the CA, regardless
of reason.
The onlySomeReasons is returned as an int. Individual bits must be
tested to determine which reasons are supported. A default value of -1 indicates
that all reasons are supported.
onlySomeReasons value.public int hashCode()
hashCode in class V3Extensionpublic java.lang.String toString()
OldIssuingDistributionPoint extension.toString in class java.lang.Object