This extension, if present, defines the identifies the reason for the certificate revocation.
The ASN.1 syntax for this is:
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
privilegeWithdrawn (7),
aACompromise (8) }
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private boolean[] | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final String[] | |
| public static final String | |
| public static final String | |
| public static final String | UNUSED
Reasons |
| Access | Constructor and Description |
|---|---|
| public | ReasonFlags(byte[]
the bits to be set for the ReasonFlags. reasons)Create a ReasonFlags with the passed bit settings. |
| public | ReasonFlags(boolean[]
the bits to be set for the ReasonFlags. reasons)Create a ReasonFlags with the passed bit settings. |
| public | ReasonFlags(BitArray
the bits to be set for the ReasonFlags. reasons)Create a ReasonFlags with the passed bit settings. |
| public | ReasonFlags(DerInputStream
the DerInputStream to read the ReasonFlags from. in)Create the object from the passed DER encoded value. |
| public | ReasonFlags(DerValue
the DerValue decoded from the stream. derVal)Create the object from the passed DER encoded value. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to write the extension to. out)Implements sun. Write the extension to the DerOutputStream. |
| public Object | |
| public boolean[] | |
| private boolean | |
| private static int | |
| private void | |
| public void | |
| public String | toString()
Overrides java. Returns a printable representation of the ReasonFlags. |
| AA_COMPROMISE | back to summary |
|---|---|
| public static final String AA_COMPROMISE | |
| AFFILIATION_CHANGED | back to summary |
|---|---|
| public static final String AFFILIATION_CHANGED | |
| bitString | back to summary |
|---|---|
| private boolean[] bitString | |
| CA_COMPROMISE | back to summary |
|---|---|
| public static final String CA_COMPROMISE | |
| CERTIFICATE_HOLD | back to summary |
|---|---|
| public static final String CERTIFICATE_HOLD | |
| CESSATION_OF_OPERATION | back to summary |
|---|---|
| public static final String CESSATION_OF_OPERATION | |
| KEY_COMPROMISE | back to summary |
|---|---|
| public static final String KEY_COMPROMISE | |
| NAMES | back to summary |
|---|---|
| private static final String[] NAMES | |
| PRIVILEGE_WITHDRAWN | back to summary |
|---|---|
| public static final String PRIVILEGE_WITHDRAWN | |
| SUPERSEDED | back to summary |
|---|---|
| public static final String SUPERSEDED | |
| UNUSED | back to summary |
|---|---|
| public static final String UNUSED Reasons | |
| ReasonFlags | back to summary |
|---|---|
| public ReasonFlags(byte[] reasons) Create a ReasonFlags with the passed bit settings.
| |
| ReasonFlags | back to summary |
|---|---|
| public ReasonFlags(boolean[] reasons) Create a ReasonFlags with the passed bit settings.
| |
| ReasonFlags | back to summary |
|---|---|
| public ReasonFlags(BitArray reasons) Create a ReasonFlags with the passed bit settings.
| |
| ReasonFlags | back to summary |
|---|---|
| public ReasonFlags(DerInputStream in) throws IOException Create the object from the passed DER encoded value.
| |
| ReasonFlags | back to summary |
|---|---|
| public ReasonFlags(DerValue derVal) throws IOException Create the object from the passed DER encoded value.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Write the extension to the DerOutputStream.
| |
| get | back to summary |
|---|---|
| public Object get(String name) throws IOException Get the attribute value. | |
| getFlags | back to summary |
|---|---|
| public boolean[] getFlags() Returns the reason flags as a boolean array. | |
| isSet | back to summary |
|---|---|
| private boolean isSet(int position) Check if bit is set.
| |
| name2Index | back to summary |
|---|---|
| private static int name2Index(String name) throws IOException | |
| set | back to summary |
|---|---|
| private void set(int position, boolean val) Set the bit at the specified position. | |
| set | back to summary |
|---|---|
| public void set(String name, Object obj) throws IOException Set the attribute value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a printable representation of the ReasonFlags. | |