|
Oracle Security Developer Tools PKI SDK TSP Java API Reference 10g Release 3 (10.1.3) B25376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.tsp.TSPMessage
oracle.security.crypto.tsp.TSPTimeStampReq
A TSP message of type TimeStampReq as defined in RFC 3161.
| Constructor Summary | |
TSPTimeStampReq()Creates a new TSPTimeStampReq object with no paramters initially set. |
|
TSPTimeStampReq(java.io.InputStream is)Constructs a TSPTimeStampReq object by reading in a DER-encoded TimeStampResp message from the given input stream. |
|
TSPTimeStampReq(MessageImprint mi)Creates a new TSPTimeStampResp object initialized with the given MessageImprint object. |
|
TSPTimeStampReq(MessageImprint mi, TSAPolicyID reqPolicy, byte[] nonce, boolean certReq, oracle.security.crypto.cert.X509ExtensionSet extensions)Creates a new TSPTimeStampResp object initialized with the given parameters. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)Returns true if this object is "equal to" another object. |
boolean |
getCertReq()Returns the value of certReq field of this object. |
protected byte[] |
getEncoded() |
oracle.security.crypto.cert.X509ExtensionSet |
getExtensions()Returns the extensions field of this object. |
MessageImprint |
getMessageImprint()Returns the messageImprint field of this object. |
byte[] |
getNonce()Returns the nonce field of this object. |
TSAPolicyID |
getReqPolicy()Returns the reqPolicy field of this object. |
int |
getVersion()Returns the version of this TimeStampReq message. |
protected void |
parseMessage(byte[] data) |
void |
setCertReq(boolean b)Sets the value of the certReq field of this object. |
void |
setExtensions(oracle.security.crypto.cert.X509ExtensionSet ext)Sets the extensions field of this object. |
void |
setMessageImprint(MessageImprint mi)Sets the messageImprint field of this object. |
void |
setNonce(byte[] data)Sets the nonce field of this object. |
void |
setReqPolicy(TSAPolicyID id)Sets the reqPolicy field of this object. |
java.lang.String |
toString()Returns a string representation of this object. |
| Methods inherited from class oracle.security.crypto.tsp.TSPMessage |
input, length, output |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TSPTimeStampReq()
public TSPTimeStampReq(MessageImprint mi)
mi - The MessageImprint object.
public TSPTimeStampReq(MessageImprint mi,
TSAPolicyID reqPolicy,
byte[] nonce,
boolean certReq,
oracle.security.crypto.cert.X509ExtensionSet extensions)
mi - The MessageImprint object.reqPolicy - The TSAPolicyID to be included this message.nonce - The nonce to be included in this message.certReq - The value of the certReq field of this message.
public TSPTimeStampReq(java.io.InputStream is)
throws java.io.IOException
is - The input stream.If - an I/O error occurs.java.io.IOException| Method Detail |
public int getVersion()
public MessageImprint getMessageImprint()
getMessageImprint in class TSPMessagepublic void setMessageImprint(MessageImprint mi)
mi - The MessageImprint.public TSAPolicyID getReqPolicy()
public void setReqPolicy(TSAPolicyID id)
public byte[] getNonce()
public void setNonce(byte[] data)
data - The noncepublic boolean getCertReq()
public void setCertReq(boolean b)
b - The value.public oracle.security.crypto.cert.X509ExtensionSet getExtensions()
public void setExtensions(oracle.security.crypto.cert.X509ExtensionSet ext)
public boolean equals(java.lang.Object o)
true if this object is "equal to" another object.o - The other object.public java.lang.String toString()
protected void parseMessage(byte[] data)
throws java.io.IOException
parseMessage in class TSPMessagejava.io.IOException
protected byte[] getEncoded()
throws java.io.IOException
getEncoded in class TSPMessagejava.io.IOException
|
Oracle Security Developer Tools PKI SDK TSP Java API Reference 10g Release 3 (10.1.3) B25376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||