java.security.cert.CRLReason , Extension
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private int | |
| private static final CRLReason[] |
| Access | Constructor and Description |
|---|---|
| public | CRLReasonCodeExtension(int
the enumerated value for the reason code. reason)Create a CRLReasonCodeExtension with the passed in reason. |
| public | CRLReasonCodeExtension(boolean
true if the extension is to be treated as critical. critical, int the enumerated value for the reason code, must be positive. reason)Create a CRLReasonCodeExtension with the passed in reason. |
| public | CRLReasonCodeExtension(Boolean
true if the extension is to be treated as critical. critical, Object an array of DER encoded bytes of the actual value. value)Create the extension from the passed DER encoded value of the same. |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream
the DerOutputStream to write the extension to. out)Overrides sun. Implements sun. Write the extension to the DerOutputStream. |
| private void | |
| public String | |
| public int | |
| public CRLReason | |
| public String | toString()
Overrides sun. Returns a printable representation of the Reason code. |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| reasonCode | back to summary |
|---|---|
| private int reasonCode | |
| values | back to summary |
|---|---|
| private static final CRLReason[] values | |
| CRLReasonCodeExtension | back to summary |
|---|---|
| public CRLReasonCodeExtension(int reason) throws IOException Create a CRLReasonCodeExtension with the passed in reason. Criticality automatically set to false.
| |
| CRLReasonCodeExtension | back to summary |
|---|---|
| public CRLReasonCodeExtension(boolean critical, int reason) Create a CRLReasonCodeExtension with the passed in reason.
| |
| CRLReasonCodeExtension | back to summary |
|---|---|
| public CRLReasonCodeExtension(Boolean critical, Object value) throws IOException Create the extension from the passed DER encoded value of the same.
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Overrides sun. Implements sun. Write the extension to the DerOutputStream.
| |
| encodeThis | back to summary |
|---|---|
| private void encodeThis() | |
| getName | back to summary |
|---|---|
| public String getName() Overrides sun. Return the name of this extension.
| |
| getReason | back to summary |
|---|---|
| public int getReason() | |
| getReasonCode | back to summary |
|---|---|
| public CRLReason getReasonCode() Return the reason as a CRLReason enum. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Returns a printable representation of the Reason code. | |