FileDocCategorySizeDatePackage
ReasonFlags.javaAPI DocAzureus 3.0.3.41332Tue Jun 08 05:12:56 BST 2004org.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),
certficateHold(6)
}

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
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