| java.lang.Object org.apache.harmony.security.x509.tsp.TSTInfo
TSTInfo | public class TSTInfo (Code) | | As defined in Time-Stamp Protocol (TSP)
(http://www.ietf.org/rfc/rfc3161.txt)
TSTInfo ::= SEQUENCE {
version INTEGER { v1(1) },
policy TSAPolicyId,
messageImprint MessageImprint,
-- MUST have the same value as the similar field in
-- TimeStampReq
serialNumber INTEGER,
-- Time-Stamping users MUST be ready to accommodate integers
-- up to 160 bits.
genTime GeneralizedTime,
accuracy Accuracy OPTIONAL,
ordering BOOLEAN DEFAULT FALSE,
nonce INTEGER OPTIONAL,
-- MUST be present if the similar field was present
-- in TimeStampReq. In that case it MUST have the same value.
tsa [0] GeneralName OPTIONAL,
extensions [1] IMPLICIT Extensions OPTIONAL
}
TSAPolicyId ::= OBJECT IDENTIFIER
"tsa [0] GeneralName OPTIONAL" is EXPLICIT and the word EXPLICIT is omitted.
|
ACCURACY | final public static ASN1Sequence ACCURACY(Code) | | Accuracy ::= SEQUENCE {
seconds INTEGER OPTIONAL,
millis [0] INTEGER (1..999) OPTIONAL,
micros [1] INTEGER (1..999) OPTIONAL }
|
getAccuracy | public int[] getAccuracy()(Code) | | Returns the accuracy. |
getGenTime | public Date getGenTime()(Code) | | Returns the genTime. |
getOrdering | public Boolean getOrdering()(Code) | | Returns the ordering. |
getPolicy | public String getPolicy()(Code) | | Returns the policy. |
getSerialNumber | public BigInteger getSerialNumber()(Code) | | Returns the serialNumber. |
getVersion | public int getVersion()(Code) | | Returns the version. |
|
|