FileDocCategorySizeDatePackage
ReasonFlags.javaAPI DocAndroid 1.5 API2596Wed May 06 22:41:06 BST 2009org.bouncycastle.asn1.x509

ReasonFlags

public class ReasonFlags extends org.bouncycastle.asn1.DERBitString
The ReasonFlags object.
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
privilegeWithdrawn (7),
aACompromise (8) }

Fields Summary
public static final int
UNUSED
public static final int
KEY_COMPROMISE
public static final int
CA_COMPROMISE
public static final int
AFFILIATION_CHANGED
public static final int
SUPERSEDED
public static final int
CESSATION_OF_OPERATION
public static final int
CERTIFICATE_HOLD
public static final int
PRIVILEGE_WITHDRAWN
public static final int
AA_COMPROMISE
public static final int
unused
public static final int
keyCompromise
public static final int
cACompromise
public static final int
affiliationChanged
public static final int
superseded
public static final int
cessationOfOperation
public static final int
certificateHold
public static final int
privilegeWithdrawn
public static final int
aACompromise
Constructors Summary
public ReasonFlags(int reasons)

param
reasons - the bitwise OR of the Key Reason flags giving the allowed uses for the key.


                           
     
         
    
        super(getBytes(reasons), getPadBits(reasons));
    
public ReasonFlags(org.bouncycastle.asn1.DERBitString reasons)

        super(reasons.getBytes(), reasons.getPadBits());
    
Methods Summary