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) }
-
CRLDistributionPoint()
-
-
encode(OutputStream)
-
-
encode(Tag, OutputStream)
-
-
getCRLIssuer()
- Returns the CRLIssuer for the CRL at this distribution point.
-
getFullName()
- Returns the
fullName of the
DistributionPointName, which may be null.
-
getReasons()
- Returns the reason flags for this distribution point.
-
getRelativeName()
- Returns the
relativeName of the
DistributionPointName, which may be null.
-
getTag()
-
-
getTemplate()
- Returns an instance of a template for decoding a CRLDistributionPoint.
-
main(String[])
-
-
setCRLIssuer(GeneralNames)
- Sets the CRLIssuer for the CRL at this distribution point.
-
setFullName(GeneralNames)
- Sets the
fullName of the
DistributionPointName.
-
setReasons(BitArray)
- Sets the reason flags for this distribution point.
-
setRelativeName(RDN)
- Sets the
relativeName of the
DistributionPointName.
CRLDistributionPoint
public CRLDistributionPoint()
getFullName
public GeneralNames getFullName()
- Returns the
fullName of the
DistributionPointName, which may be null.
getRelativeName
public RDN getRelativeName()
- Returns the
relativeName of the
DistributionPointName, which may be null.
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.
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.
getReasons
public BitArray getReasons()
- Returns the reason flags for this distribution point. May be
null.
setReasons
public void setReasons(BitArray reasons)
- Sets the reason flags for this distribution point. May be set to
null.
getCRLIssuer
public GeneralNames getCRLIssuer()
- Returns the CRLIssuer for the CRL at this distribution point.
May be
null.
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.
getTag
public Tag getTag()
encode
public void encode(OutputStream ostream) throws IOException
encode
public void encode(Tag implicitTag,
OutputStream ostream) throws IOException
getTemplate
public static CRLDistributionPoint. Template getTemplate()
- Returns an instance of a template for decoding a CRLDistributionPoint.
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index