Skip navigation links 
 
oracle.security.crypto.cert
Class CRLReason
java.lang.Object
  
oracle.security.crypto.cert.CRLReason
- All Implemented Interfaces:
 
- java.io.Externalizable, java.io.Serializable, oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable
 
- 
public class CRLReason
 
- extends java.lang.Object
 
- implements oracle.security.crypto.asn1.ASN1Object, java.io.Externalizable
 
Reason for a certificate revocation.
- See Also:
 
- Serialized Form
 
 
  
 
| Constructor Summary | 
CRLReason() 
          Creates a new empty instance. | 
CRLReason(java.io.InputStream is) 
            | 
  
 
| Method Summary | 
 int | 
getValue() 
          Gets the value of this CRLReason. | 
 void | 
input(java.io.InputStream is) 
            | 
 int | 
length() 
            | 
 void | 
output(java.io.OutputStream os) 
            | 
 void | 
readExternal(java.io.ObjectInput is) 
            | 
 java.lang.String | 
toString() 
          Returns a brief description of this CRLReason object. | 
 void | 
writeExternal(java.io.ObjectOutput os) 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
UNSPECIFIED
public static final CRLReason UNSPECIFIED
KEY_COMPROMISE
public static final CRLReason KEY_COMPROMISE
CA_COMPROMISE
public static final CRLReason CA_COMPROMISE
AFFILIATION_CHANGE
public static final CRLReason AFFILIATION_CHANGE
SUPERSEDED
public static final CRLReason SUPERSEDED
CESSATION_OF_OPERATION
public static final CRLReason CESSATION_OF_OPERATION
CERTIFICATE_HOLD
public static final CRLReason CERTIFICATE_HOLD
REMOVE_FROM_CRL
public static final CRLReason REMOVE_FROM_CRL
LIST
public static final CRLReason[] LIST
CRLReason
public CRLReason()
- Creates a new empty instance. This constructor is to be used with serialization or with the input method.
 
CRLReason
public CRLReason(java.io.InputStream is)
          throws java.io.IOException
- 
- Throws:
 
java.io.IOException 
 
getValue
public int getValue()
- Gets the value of this CRLReason.
 
- 
- Returns:
 
- An int representing this CRLReason object.
 
 
toString
public java.lang.String toString()
- Returns a brief description of this CRLReason object.
 
- 
- Overrides:
 
toString in class java.lang.Object 
 
- 
- Returns:
 
- A String describing this object.
 
 
input
public void input(java.io.InputStream is)
           throws java.io.IOException
- 
- Specified by:
 
input in interface oracle.security.crypto.util.Streamable 
 
- 
- Throws:
 
java.io.IOException 
 
output
public void output(java.io.OutputStream os)
            throws java.io.IOException
- 
- Specified by:
 
output in interface oracle.security.crypto.util.Streamable 
 
- 
- Throws:
 
java.io.IOException 
 
length
public int length()
- 
- Specified by:
 
length in interface oracle.security.crypto.util.Streamable 
 
writeExternal
public void writeExternal(java.io.ObjectOutput os)
                   throws java.io.IOException
- 
- Specified by:
 
writeExternal in interface java.io.Externalizable 
 
- 
- Throws:
 
java.io.IOException 
 
readExternal
public void readExternal(java.io.ObjectInput is)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
- 
- Specified by:
 
readExternal in interface java.io.Externalizable 
 
- 
- Throws:
 
java.io.IOException 
java.lang.ClassNotFoundException 
 
Skip navigation links 
 
Copyright © 2005, 2009, Oracle. All rights reserved.