All Packages Class Hierarchy This Package Previous Next Index
Class iaik.x509.extensions.CRLDistributionPoints
java.lang.Object
|
+----iaik.x509.V3Extension
|
+----iaik.x509.extensions.CRLDistributionPoints
- public class CRLDistributionPoints
- extends V3Extension
This class implements the CRLDistributionPoints Extension.
-
CRLDistributionPoints()
- Default constructor.
-
CRLDistributionPoints(DistributionPoint)
- Creates an CRLDistributionPoints object and adds an DistributionPoint.
-
addDistributionPoint(DistributionPoint)
- Adds an CRL distribution point.
-
getDistributionPoints()
- Returns an enumeration of the distribution points.
-
getObjectID()
- Returns the object ID of this extension
-
hashCode()
- Returns a hashcode for this identity.
-
init(ASN1Object)
- Inits this implementation of an extension with an ASN1Object.
-
removeAllDistributionPoints()
- Removes all CRL distribution points.
-
toASN1Object()
- Returns the value of this extension as ASN1Object.
-
toString()
- Returns a string that represents the contents of the extensions.
CRLDistributionPoints
public CRLDistributionPoints()
- Default constructor. Creates an empty object.
CRLDistributionPoints
public CRLDistributionPoints(DistributionPoint dp)
- Creates an CRLDistributionPoints object and adds an DistributionPoint.
- Parameters:
- dp - the distribution point to add
getObjectID
public ObjectID getObjectID()
- Returns the object ID of this extension
- Returns:
- the object ID
- Overrides:
- getObjectID in class V3Extension
init
public void init(ASN1Object obj) throws ExtensionException
- Inits this implementation of an extension with an ASN1Object.
The ASN1Object is the extensionValue from ASN.1 type "Extension".
The ASN1Object is the one created by toASN1Object().
- Parameters:
- obj - the extensionValue as ASN1Object
- Throws: ExtensionException
- if there occurs an error while parsing the extension
- Overrides:
- init in class V3Extension
- See Also:
- toASN1Object
toASN1Object
public ASN1Object toASN1Object()
- Returns the value of this extension as ASN1Object.
The ASN1Object is the extensionValue from ASN.1 type "Extension".
The created ASN1Object is same, which is the parameter to
method init.
- Returns:
- the value of the extension as ASN1Object
- Overrides:
- toASN1Object in class V3Extension
- See Also:
- init
addDistributionPoint
public void addDistributionPoint(DistributionPoint dp)
- Adds an CRL distribution point.
- Parameters:
- dp - the distribution point to add
removeAllDistributionPoints
public void removeAllDistributionPoints()
- Removes all CRL distribution points.
getDistributionPoints
public Enumeration getDistributionPoints()
- Returns an enumeration of the distribution points.
- Returns:
- an enumeration of the distribution points
hashCode
public int hashCode()
- Returns a hashcode for this identity.
- Returns:
- a hash code for this identity
- Overrides:
- hashCode in class V3Extension
toString
public String toString()
- Returns a string that represents the contents of the extensions.
- Returns:
- the string representation
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index