public abstract class TSPMessage
extends java.lang.Object
implements oracle.security.crypto.util.Streamable
| Constructor and Description | 
|---|
TSPMessage()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract byte[] | 
getEncoded()  | 
abstract MessageImprint | 
getMessageImprint()
Returns the MessageImprint object associated with this message. 
 | 
void | 
input(java.io.InputStream is)
Initializes this object by reading in a DER-encoded TSAPolicyID object from the given input stream. 
 | 
int | 
length()
Returns the length of the DER encoding of this object in bytes. 
 | 
void | 
output(java.io.OutputStream os)
Writes the DER encoding of this object to the given output stream. 
 | 
protected abstract void | 
parseMessage(byte[] data)  | 
public void input(java.io.InputStream is)
           throws java.io.IOException
input in interface oracle.security.crypto.util.Streamableis -java.io.IOException - If an I/O error occurs.
public void output(java.io.OutputStream os)
            throws java.io.IOException
output in interface oracle.security.crypto.util.Streamableos - The output stream.java.io.IOException - If an I/O error occurs.public int length()
length in interface oracle.security.crypto.util.Streamablepublic abstract MessageImprint getMessageImprint()
protected abstract void parseMessage(byte[] data)
                              throws java.io.IOException
java.io.IOException
protected abstract byte[] getEncoded()
                              throws java.io.IOException
java.io.IOException