| java.lang.Object org.apache.harmony.security.x509.tsp.TimeStampReq
TimeStampReq | public class TimeStampReq (Code) | | As defined in Time-Stamp Protocol (TSP)
(http://www.ietf.org/rfc/rfc3161.txt)
TimeStampReq ::= SEQUENCE {
version INTEGER { v1(1) },
messageImprint MessageImprint,
--a hash algorithm OID and the hash value of the data to be
--time-stamped
reqPolicy TSAPolicyId OPTIONAL,
nonce INTEGER OPTIONAL,
certReq BOOLEAN DEFAULT FALSE,
extensions [0] IMPLICIT Extensions OPTIONAL
}
TSAPolicyId ::= OBJECT IDENTIFIER
|
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this TimeStampReq.
a byte array containing ASN.1 encoded form. |
getReqPolicy | public String getReqPolicy()(Code) | | Returns the reqPolicy. |
getVersion | public int getVersion()(Code) | | Returns the version. |
|
|