All Packages Class Hierarchy This Package Previous Next Index
Class netscape.security.x509.ReasonFlags
netscape.security.x509.ReasonFlags
- public class ReasonFlags
Represent the CRL Reason Flags.
This extension, if present, defines the identifies
the reason for the certificate revocation.
- See Also:
- Extension, CertAttrSet
-
AFFLIATION_CHANGED
-
-
CA_COMPROMISE
-
-
CERTIFICATION_HOLD
-
-
CESSATION_OF_OPERATION
-
-
KEY_COMPROMISE
-
-
SUPERSEDED
-
-
UNUSED
- Reasons
-
ReasonFlags(BitArray)
- Create a ReasonFlags with the passed bit settings.
-
ReasonFlags(boolean[])
- Create a ReasonFlags with the passed bit settings.
-
ReasonFlags(byte[])
- Create a ReasonFlags with the passed bit settings.
-
ReasonFlags(DerInputStream)
- Create the object from the passed DER encoded value.
-
ReasonFlags(DerValue)
- Create the object from the passed DER encoded value.
-
delete(String)
- Delete the attribute value.
-
encode(DerOutputStream)
- Write the extension to the DerOutputStream.
-
get(String)
- Get the attribute value.
-
getElements()
- Return an enumeration of names of attributes existing within this
attribute.
-
set(String, Object)
- Set the attribute value.
-
toString()
- Returns a printable representation of the ReasonFlags.
UNUSED
public static final String UNUSED
- Reasons
KEY_COMPROMISE
public static final String KEY_COMPROMISE
CA_COMPROMISE
public static final String CA_COMPROMISE
AFFLIATION_CHANGED
public static final String AFFLIATION_CHANGED
SUPERSEDED
public static final String SUPERSEDED
CESSATION_OF_OPERATION
public static final String CESSATION_OF_OPERATION
CERTIFICATION_HOLD
public static final String CERTIFICATION_HOLD
ReasonFlags
public ReasonFlags(byte reasons[])
- Create a ReasonFlags with the passed bit settings.
- Parameters:
- reasons - the bits to be set for the ReasonFlags.
ReasonFlags
public ReasonFlags(boolean reasons[])
- Create a ReasonFlags with the passed bit settings.
- Parameters:
- reasons - the bits to be set for the ReasonFlags.
ReasonFlags
public ReasonFlags(BitArray reasons)
- Create a ReasonFlags with the passed bit settings.
- Parameters:
- reasons - the bits to be set for the ReasonFlags.
ReasonFlags
public ReasonFlags(DerInputStream in) throws IOException
- Create the object from the passed DER encoded value.
- Parameters:
- in - the DerInputStream to read the ReasonFlags from.
- Throws: IOException
- on decoding errors.
ReasonFlags
public ReasonFlags(DerValue derVal) throws IOException
- Create the object from the passed DER encoded value.
- Parameters:
- derVal - the DerValue decoded from the stream.
- Throws: IOException
- on decoding errors.
set
public void set(String name,
Object obj) throws IOException
- Set the attribute value.
get
public Object get(String name) throws IOException
- Get the attribute value.
delete
public void delete(String name) throws IOException
- Delete the attribute value.
toString
public String toString()
- Returns a printable representation of the ReasonFlags.
encode
public void encode(DerOutputStream out) throws IOException
- Write the extension to the DerOutputStream.
- Parameters:
- out - the DerOutputStream to write the extension to.
- Throws: IOException
- on encoding errors.
getElements
public Enumeration getElements()
- Return an enumeration of names of attributes existing within this
attribute.
All Packages Class Hierarchy This Package Previous Next Index