public class GetCRL
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
| Constructor and Description |
|---|
GetCRL()
Creates an empty
GetCRL instance. |
GetCRL(java.io.InputStream is)
Create a new
GetCRL by reading from the specified input stream. |
GetCRL(X500Name issuerName, GeneralName crlName, java.util.Date time, CRLReason reason)
Creates a
GetCRL instance with the specified values. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this
GetCRL to the specified object. |
GeneralName |
getCRLName()
Returns the CRL's name.
|
X500Name |
getIssuerName()
Returns the certificate issuer's name.
|
CRLReason |
getReason()
Returns the reason flags associated with this message..
|
java.util.Date |
getTime()
Returns the time associated with this message..
|
void |
input(java.io.InputStream is)
Create a new
GetCRL by reading from the specified input stream. |
int |
length()
Returns the length of this object's encoding.
|
void |
output(java.io.OutputStream os)
Outputs the
GetCRL to the specified output stream. |
void |
setCRLName(GeneralName crlName)
Sets the CRL's name.
|
void |
setIssuerName(X500Name issuerName)
Sets the certificate issuer's name.
|
void |
setReason(CRLReason reason)
Sets the reason flags associated with this message.
|
void |
setTime(java.util.Date time)
Sets the time associated with this message.
|
public GetCRL()
GetCRL instance.public GetCRL(X500Name issuerName, GeneralName crlName, java.util.Date time, CRLReason reason)
GetCRL instance with the specified values.issuerName - The name of the certificate issuer.crlName - The name of the crl issuer.time - The revocation time.reason - The revocation reason.public GetCRL(java.io.InputStream is)
throws java.io.IOException
GetCRL by reading from the specified input stream.is - The input stream containing the encoded GetCRL.java.io.IOException - The input encoding is incorrect or an I/O error occurs.public void setIssuerName(X500Name issuerName)
issuerName - The X500Name of the certificate issuer.public X500Name getIssuerName()
X500Name of the certificate issuer.public void setCRLName(GeneralName crlName)
crlName - The GeneralName of the CRL.public GeneralName getCRLName()
GeneralName of the CRL.public void setTime(java.util.Date time)
time - The time instant.public java.util.Date getTime()
public void setReason(CRLReason reason)
reason - The reason flags.public CRLReason getReason()
public void input(java.io.InputStream is)
throws java.io.IOException
GetCRL by reading from the specified input stream.input in interface oracle.security.crypto.util.Streamableis - The input stream containing the encoded GetCRL.java.io.IOException - The input encoding is incorrect or an I/O error occurs.public void output(java.io.OutputStream os)
throws java.io.IOException
GetCRL to the specified output stream.output in interface oracle.security.crypto.util.Streamableos - The output stream.java.io.IOException - An I/O error occurs.public int length()
length in interface oracle.security.crypto.util.Streamablepublic boolean equals(java.lang.Object o)
GetCRL to the specified object. Returns true if and only if the argument is not null and is an GetCRL object which has the same DER encoding as this object.equals in class java.lang.Object