All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.IssuingDistributionPointExtension

netscape.security.x509.Extension
   |
   +----netscape.security.x509.IssuingDistributionPointExtension

public class IssuingDistributionPointExtension
extends Extension
implements CertAttrSet
A critical CRL extension that identifies the CRL distribution point for a particular CRL
 issuingDistributionPoint ::= SEQUENCE {
         distributionPoint       [0] DistributionPointName OPTIONAL,
         onlyContainsUserCerts   [1] BOOLEAN DEFAULT FALSE,
         onlyContainsCACerts     [2] BOOLEAN DEFAULT FALSE,
         onlySomeReasons         [3] ReasonFlags OPTIONAL,
         indirectCRL             [4] BOOLEAN DEFAULT FALSE }
 DistributionPointName ::= CHOICE {
         fullName                [0]     GeneralNames,
         nameRelativeToCRLIssuer [1]     RelativeDistinguishedName }
 ReasonFlags ::= BIT STRING {
         unused                  (0),
         keyCompromise           (1),
         cACompromise            (2),
         affiliationChanged      (3),
         superseded              (4),
         cessationOfOperation    (5),
         certificateHold         (6) }
 GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
 GeneralName ::= CHOICE {
         otherName                       [0]     OtherName,
         rfc822Name                      [1]     IA5String,
         dNSName                         [2]     IA5String,
         x400Address                     [3]     ORAddress,
         directoryName                   [4]     Name,
         ediPartyName                    [5]     EDIPartyName,
         uniformResourceIdentifier       [6]     IA5String,
         iPAddress                       [7]     OCTET STRING,
         registeredID                    [8]     OBJECT IDENTIFIER}
 OtherName ::= SEQUENCE {
         type-id    OBJECT IDENTIFIER,
         value      [0] EXPLICIT ANY DEFINED BY type-id }
 EDIPartyName ::= SEQUENCE {
         nameAssigner            [0]     DirectoryString OPTIONAL,
         partyName               [1]     DirectoryString }
 RelativeDistinguishedName ::=
         SET OF AttributeTypeAndValue
 AttributeTypeAndValue ::= SEQUENCE {
         type     AttributeType,
         value    AttributeValue }
 AttributeType ::= OBJECT IDENTIFIER
 AttributeValue ::= ANY DEFINED BY AttributeType
 


Variable Index

 o ISSUING_DISTRIBUTION_POINT
 o NAME
Attribute names.
 o OID
The Object Identifier for this extension.

Constructor Index

 o IssuingDistributionPointExtension(Boolean, Object)
This constructor is very important, since it will be called by the system.
 o IssuingDistributionPointExtension(IssuingDistributionPoint)
Creates a new IssuingDistributionPoint extension, with the given issuing distribution point as the first element.

Method Index

 o decode(InputStream)
 o delete(String)
 o encode(DerOutputStream)
Encodes this extension to the given DerOutputStream.
 o encode(OutputStream)
DER-encodes this extension to the given OutputStream.
 o flushCachedEncoding()
Should be called if any change is made to this data structure so that the cached DER encoding can be discarded.
 o get(String)
 o getCritical(boolean)
Gets the criticality of this extension.
 o getElements()
 o getIssuingDistributionPoint()
Returns the issuing distribution point.
 o getName()
 o main(String[])
Test driver.
 o set(String, Object)
 o setCritical(boolean)
Sets the criticality of this extension.
 o toString()
Returns the Extension in user readable form.

Variables

 o OID
 public static final String OID
The Object Identifier for this extension.

 o NAME
 public static final String NAME
Attribute names.

 o ISSUING_DISTRIBUTION_POINT
 public static final String ISSUING_DISTRIBUTION_POINT

Constructors

 o IssuingDistributionPointExtension
 public IssuingDistributionPointExtension(Boolean critical,
                                          Object value)
This constructor is very important, since it will be called by the system.

 o IssuingDistributionPointExtension
 public IssuingDistributionPointExtension(IssuingDistributionPoint idp)
Creates a new IssuingDistributionPoint extension, with the given issuing distribution point as the first element.

Methods

 o getIssuingDistributionPoint
 public IssuingDistributionPoint getIssuingDistributionPoint()
Returns the issuing distribution point.

 o setCritical
 public void setCritical(boolean critical)
Sets the criticality of this extension. PKIX dictates that this extension SHOULD be critical, so applications can make it not critical if they have a very good reason. By default, the extension is critical.

 o getCritical
 public boolean getCritical(boolean critical)
Gets the criticality of this extension. PKIX dictates that this extension SHOULD be critical, so by default, the extension is critical.

 o encode
 public void encode(DerOutputStream out) throws IOException
Encodes this extension to the given DerOutputStream. This method re-encodes each time it is called, so it is not very efficient.

Overrides:
encode in class Extension
 o flushCachedEncoding
 public void flushCachedEncoding()
Should be called if any change is made to this data structure so that the cached DER encoding can be discarded.

 o toString
 public String toString()
Returns the Extension in user readable form.

Overrides:
toString in class Extension
 o encode
 public void encode(OutputStream ostream) throws CertificateException, IOException
DER-encodes this extension to the given OutputStream.

 o decode
 public void decode(InputStream in) throws CertificateException, IOException
 o set
 public void set(String name,
                 Object obj) throws CertificateException, IOException
 o get
 public Object get(String name) throws CertificateException, IOException
 o delete
 public void delete(String name) throws CertificateException, IOException
 o getElements
 public Enumeration getElements()
 o getName
 public String getName()
 o main
 public static void main(String args[])
Test driver.


All Packages  Class Hierarchy  This Package  Previous  Next  Index