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

Variable Index

 o AFFLIATION_CHANGED
 o CA_COMPROMISE
 o CERTIFICATION_HOLD
 o CESSATION_OF_OPERATION
 o KEY_COMPROMISE
 o SUPERSEDED
 o UNUSED
Reasons

Constructor Index

 o ReasonFlags(BitArray)
Create a ReasonFlags with the passed bit settings.
 o ReasonFlags(boolean[])
Create a ReasonFlags with the passed bit settings.
 o ReasonFlags(byte[])
Create a ReasonFlags with the passed bit settings.
 o ReasonFlags(DerInputStream)
Create the object from the passed DER encoded value.
 o ReasonFlags(DerValue)
Create the object from the passed DER encoded value.

Method Index

 o delete(String)
Delete the attribute value.
 o encode(DerOutputStream)
Write the extension to the DerOutputStream.
 o get(String)
Get the attribute value.
 o getElements()
Return an enumeration of names of attributes existing within this attribute.
 o set(String, Object)
Set the attribute value.
 o toString()
Returns a printable representation of the ReasonFlags.

Variables

 o UNUSED
 public static final String UNUSED
Reasons

 o KEY_COMPROMISE
 public static final String KEY_COMPROMISE
 o CA_COMPROMISE
 public static final String CA_COMPROMISE
 o AFFLIATION_CHANGED
 public static final String AFFLIATION_CHANGED
 o SUPERSEDED
 public static final String SUPERSEDED
 o CESSATION_OF_OPERATION
 public static final String CESSATION_OF_OPERATION
 o CERTIFICATION_HOLD
 public static final String CERTIFICATION_HOLD

Constructors

 o ReasonFlags
 public ReasonFlags(byte reasons[])
Create a ReasonFlags with the passed bit settings.

Parameters:
reasons - the bits to be set for the ReasonFlags.
 o ReasonFlags
 public ReasonFlags(boolean reasons[])
Create a ReasonFlags with the passed bit settings.

Parameters:
reasons - the bits to be set for the ReasonFlags.
 o ReasonFlags
 public ReasonFlags(BitArray reasons)
Create a ReasonFlags with the passed bit settings.

Parameters:
reasons - the bits to be set for the ReasonFlags.
 o 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.
 o 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.

Methods

 o set
 public void set(String name,
                 Object obj) throws IOException
Set the attribute value.

 o get
 public Object get(String name) throws IOException
Get the attribute value.

 o delete
 public void delete(String name) throws IOException
Delete the attribute value.

 o toString
 public String toString()
Returns a printable representation of the ReasonFlags.

 o 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.
 o getElements
 public Enumeration getElements()
Return an enumeration of names of attributes existing within this attribute.


All Packages  Class Hierarchy  This Package  Previous  Next  Index