public class EntrustEventReason extends java.lang.Object implements ASN1Type
EntrustEventReason ::= ENUMERATED
{
nearExpired (1), -- certificate near expiration
expired (2), -- certificate expired
revoked (3), -- certificate revoked
dnChange (4), -- DN change
forceUpdate (5), -- forced updated
typeChange (6), -- certificate type changed
defnUpdate (7), -- certificate definition forced update
roleChange (8), -- user role change
newCertDefn (9), -- certificate definition added to certificate type
stateChange (10), -- user state changed
other (11),
unknown (12),
upgrade (13) -- upgrading to new release
}
| Modifier and Type | Field and Description |
|---|---|
static EntrustEventReason |
defnUpdate
EntrustEventReason - defnUpdated: certificate definition forced update.
|
static EntrustEventReason |
dnChange
EntrustEventReason - dnChange: DN change.
|
static EntrustEventReason |
expired
EntrustEventReason - expired: certificate expired.
|
static EntrustEventReason |
forceUpdate
EntrustEventReason - forceUpdate: forced update.
|
static EntrustEventReason |
nearExpired
EntrustEventReason - nearExpired: certificate near expiration.
|
static EntrustEventReason |
newCertDefn
EntrustEventReason - newCertDefn: certificate definition added to
certificate type.
|
static EntrustEventReason |
other
EntrustEventReason - other.
|
static EntrustEventReason |
revoked
EntrustEventReason - revoked: certificate revoked.
|
static EntrustEventReason |
roleChange
EntrustEventReason - roleChanged: user role changed.
|
static EntrustEventReason |
stateChange
EntrustEventReason - stateChanged: user state changed.
|
static EntrustEventReason |
typeChange
EntrustEventReason - typeChange: certificate type changed.
|
static EntrustEventReason |
unknown
EntrustEventReason - unknown.
|
static EntrustEventReason |
upgrade
EntrustEventReason - upgrade.
|
| Constructor and Description |
|---|
EntrustEventReason(ASN1Object obj)
Creates a new
EntrustEventReason from an
ASN1Object. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an EntrustEventReason from an
ASN1Object. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
intValue()
Returns the event reason as an int.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustEventReason object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustEventReason object. |
public static final EntrustEventReason nearExpired
public static final EntrustEventReason expired
public static final EntrustEventReason revoked
public static final EntrustEventReason dnChange
public static final EntrustEventReason forceUpdate
public static final EntrustEventReason typeChange
public static final EntrustEventReason defnUpdate
public static final EntrustEventReason roleChange
public static final EntrustEventReason newCertDefn
public static final EntrustEventReason stateChange
public static final EntrustEventReason other
public static final EntrustEventReason unknown
public static final EntrustEventReason upgrade
public EntrustEventReason(ASN1Object obj) throws CodingException
EntrustEventReason from an
ASN1Object. The ASN1Object must be an
EntrustEventReason structure.obj - the ASN.1 representation of an EntrustEventReason structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic int intValue()
public void decode(ASN1Object obj) throws CodingException
ASN1Object. The
ASN1Object must be an EntrustEventReason structure.decode in interface ASN1Typeobj - an ASN.1 representation of a EntrustEventReason structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
EntrustEventReason object as an
ASN1Object.toASN1Object in interface ASN1Typepublic java.lang.String toString()
EntrustEventReason object.toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Two EntrustEventReason objects are equal only if the event
reason they represent are identical.
equals in class java.lang.Objectobj - the reference object with which to comparetrue if the objects are "equal"; false
otherwise