public class PendInfo
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
| Constructor and Description |
|---|
PendInfo()
Creates an empty
PendInfo instance. |
PendInfo(java.math.BigInteger pendToken, java.util.Date pendTime)
Creates a
PendInfo instance with the specified values. |
PendInfo(java.io.InputStream is)
Create a new
PendInfo by reading from the specified input stream. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this
PendInfo to the specified object. |
java.util.Date |
getPendTime()
Gets the pending time value.
|
java.math.BigInteger |
getPendToken()
Gets the pending token value.
|
void |
input(java.io.InputStream is)
Create a new
PendInfo 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
PendInfo to the specified output stream. |
void |
setPendTime(java.util.Date pendTime)
Sets the pending time value.
|
void |
setPendToken(java.math.BigInteger pendToken)
Sets the pending token value.
|
public PendInfo()
PendInfo instance.
public PendInfo(java.math.BigInteger pendToken,
java.util.Date pendTime)
PendInfo instance with the specified values.pendToken - A integer referencing the pending request.pendTime - The time instant when this request was submitted.
public PendInfo(java.io.InputStream is)
throws java.io.IOException
PendInfo by reading from the specified input stream.is - The input stream containing the encoded PendInfo.java.io.IOExceptionpublic void setPendToken(java.math.BigInteger pendToken)
pendToken - A integer referencing the pending request.public java.math.BigInteger getPendToken()
public void setPendTime(java.util.Date pendTime)
pendTime - The time instant when this request was submitted.public java.util.Date getPendTime()
public void input(java.io.InputStream is)
throws java.io.IOException
PendInfo by reading from the specified input stream.input in interface oracle.security.crypto.util.Streamableis - The input stream containing the encoded PendInfo.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
PendInfo 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)
PendInfo to the specified object. Returns true if and only if the argument is not null and is an PendInfo object which has the same DER encoding as this object.equals in class java.lang.Object