All Packages Class Hierarchy This Package Previous Next Index
Class netscape.security.x509.IssuingDistributionPoint
netscape.security.x509.IssuingDistributionPoint
- public class IssuingDistributionPoint
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
See the documentation in CRLDistributionPoint for
the DistributionPointName and ReasonFlags
ASN.1 types.
-
IssuingDistributionPoint()
-
-
encode(OutputStream)
-
-
encode(Tag, OutputStream)
-
-
getFullName()
- Returns the
fullName of the
DistributionPointName, which may be null.
-
getIndirectCRL()
-
-
getOnlyContainsCACerts()
-
-
getOnlyContainsUserCerts()
-
-
getOnlySomeReasons()
- Returns the reason flags for this distribution point.
-
getRelativeName()
- Returns the
relativeName of the
DistributionPointName, which may be null.
-
getTag()
-
-
main(String[])
-
-
setFullName(GeneralNames)
- Sets the
fullName of the
DistributionPointName.
-
setIndirectCRL(boolean)
-
-
setOnlyContainsCACerts(boolean)
-
-
setOnlyContainsUserCerts(boolean)
-
-
setOnlySomeReasons(BitArray)
- Sets the reason flags for this distribution point.
-
setRelativeName(RDN)
- Sets the
relativeName of the
DistributionPointName.
IssuingDistributionPoint
public IssuingDistributionPoint()
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.
getOnlyContainsUserCerts
public boolean getOnlyContainsUserCerts()
setOnlyContainsUserCerts
public void setOnlyContainsUserCerts(boolean b)
getOnlyContainsCACerts
public boolean getOnlyContainsCACerts()
setOnlyContainsCACerts
public void setOnlyContainsCACerts(boolean b)
getOnlySomeReasons
public BitArray getOnlySomeReasons()
- Returns the reason flags for this distribution point. May be
null.
setOnlySomeReasons
public void setOnlySomeReasons(BitArray reasons)
- Sets the reason flags for this distribution point. May be set to
null.
getIndirectCRL
public boolean getIndirectCRL()
setIndirectCRL
public void setIndirectCRL(boolean b)
getTag
public Tag getTag()
encode
public void encode(OutputStream ostream) throws IOException
encode
public void encode(Tag implicitTag,
OutputStream ostream) throws IOException
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index