public class

ReasonFlags

extends DERBitString
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERBitString
           ↳ org.bouncycastle.asn1.x509.ReasonFlags

Class Overview

The ReasonFlags object.

 ReasonFlags ::= BIT STRING {
      unused                  (0),
      keyCompromise           (1),
      cACompromise            (2),
      affiliationChanged      (3),
      superseded              (4),
      cessationOfOperation    (5),
      certificateHold         (6),
      privilegeWithdrawn      (7),
      aACompromise            (8) }
 

Summary

Constants
int AA_COMPROMISE This constant is deprecated. use lower case version
int AFFILIATION_CHANGED This constant is deprecated. use lower case version
int CA_COMPROMISE This constant is deprecated. use lower case version
int CERTIFICATE_HOLD This constant is deprecated. use lower case version
int CESSATION_OF_OPERATION This constant is deprecated. use lower case version
int KEY_COMPROMISE This constant is deprecated. use lower case version
int PRIVILEGE_WITHDRAWN This constant is deprecated. use lower case version
int SUPERSEDED This constant is deprecated. use lower case version
int UNUSED This constant is deprecated. use lower case version
int aACompromise
int affiliationChanged
int cACompromise
int certificateHold
int cessationOfOperation
int keyCompromise
int privilegeWithdrawn
int superseded
int unused
[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
[Expand]
Inherited Fields
From class org.bouncycastle.asn1.DERBitString
Public Constructors
ReasonFlags(int reasons)
ReasonFlags(DERBitString reasons)
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.DERBitString
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.ASN1String
From interface org.bouncycastle.asn1.DEREncodable

Constants

public static final int AA_COMPROMISE

This constant is deprecated.
use lower case version

Constant Value: 32768 (0x00008000)

public static final int AFFILIATION_CHANGED

This constant is deprecated.
use lower case version

Constant Value: 16 (0x00000010)

public static final int CA_COMPROMISE

This constant is deprecated.
use lower case version

Constant Value: 32 (0x00000020)

public static final int CERTIFICATE_HOLD

This constant is deprecated.
use lower case version

Constant Value: 2 (0x00000002)

public static final int CESSATION_OF_OPERATION

This constant is deprecated.
use lower case version

Constant Value: 4 (0x00000004)

public static final int KEY_COMPROMISE

This constant is deprecated.
use lower case version

Constant Value: 64 (0x00000040)

public static final int PRIVILEGE_WITHDRAWN

This constant is deprecated.
use lower case version

Constant Value: 1 (0x00000001)

public static final int SUPERSEDED

This constant is deprecated.
use lower case version

Constant Value: 8 (0x00000008)

public static final int UNUSED

This constant is deprecated.
use lower case version

Constant Value: 128 (0x00000080)

public static final int aACompromise

Constant Value: 32768 (0x00008000)

public static final int affiliationChanged

Constant Value: 16 (0x00000010)

public static final int cACompromise

Constant Value: 32 (0x00000020)

public static final int certificateHold

Constant Value: 2 (0x00000002)

public static final int cessationOfOperation

Constant Value: 4 (0x00000004)

public static final int keyCompromise

Constant Value: 64 (0x00000040)

public static final int privilegeWithdrawn

Constant Value: 1 (0x00000001)

public static final int superseded

Constant Value: 8 (0x00000008)

public static final int unused

Constant Value: 128 (0x00000080)

Public Constructors

public ReasonFlags (int reasons)

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

public ReasonFlags (DERBitString reasons)