All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.CRLDistributionPoint

netscape.security.x509.CRLDistributionPoint

public class CRLDistributionPoint
 DistributionPoint ::= SEQUENCE {
      distributionPoint       [0]     DistributionPointName OPTIONAL,
      reasons                 [1]     ReasonFlags OPTIONAL,
      cRLIssuer               [2]     GeneralNames OPTIONAL }
 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) }
 


Constructor Index

 o CRLDistributionPoint()

Method Index

 o encode(OutputStream)
 o encode(Tag, OutputStream)
 o getCRLIssuer()
Returns the CRLIssuer for the CRL at this distribution point.
 o getFullName()
Returns the fullName of the DistributionPointName, which may be null.
 o getReasons()
Returns the reason flags for this distribution point.
 o getRelativeName()
Returns the relativeName of the DistributionPointName, which may be null.
 o getTag()
 o getTemplate()
Returns an instance of a template for decoding a CRLDistributionPoint.
 o main(String[])
 o setCRLIssuer(GeneralNames)
Sets the CRLIssuer for the CRL at this distribution point.
 o setFullName(GeneralNames)
Sets the fullName of the DistributionPointName.
 o setReasons(BitArray)
Sets the reason flags for this distribution point.
 o setRelativeName(RDN)
Sets the relativeName of the DistributionPointName.

Constructors

 o CRLDistributionPoint
 public CRLDistributionPoint()

Methods

 o getFullName
 public GeneralNames getFullName()
Returns the fullName of the DistributionPointName, which may be null.

 o getRelativeName
 public RDN getRelativeName()
Returns the relativeName of the DistributionPointName, which may be null.

 o setFullName
 public void setFullName(GeneralNames fullName) throws GeneralNamesException, IOException
Sets the fullName of the DistributionPointName. It may be set to null. If it is set to a non-null value, relativeName will be set to null, because at most one of these two attributes can be specified at a time.

Throws: GeneralNamesException
If an error occurs encoding the name.
 o setRelativeName
 public void setRelativeName(RDN relativeName)
Sets the relativeName of the DistributionPointName. It may be set to null. If it is set to a non-null value, fullName will be set to null, because at most one of these two attributes can be specified at a time.

 o getReasons
 public BitArray getReasons()
Returns the reason flags for this distribution point. May be null.

 o setReasons
 public void setReasons(BitArray reasons)
Sets the reason flags for this distribution point. May be set to null.

 o getCRLIssuer
 public GeneralNames getCRLIssuer()
Returns the CRLIssuer for the CRL at this distribution point. May be null.

 o setCRLIssuer
 public void setCRLIssuer(GeneralNames CRLIssuer) throws GeneralNamesException, IOException
Sets the CRLIssuer for the CRL at this distribution point. May be set to null.

Throws: GeneralNamesException
If an error occurs encoding the name.
 o getTag
 public Tag getTag()
 o encode
 public void encode(OutputStream ostream) throws IOException
 o encode
 public void encode(Tag implicitTag,
                    OutputStream ostream) throws IOException
 o getTemplate
 public static CRLDistributionPoint. Template getTemplate()
Returns an instance of a template for decoding a CRLDistributionPoint.

 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index