1 PKIXTSP {iso(1) identified-organization(3) dod(6) internet(1)
2 security(5) mechanisms(5) pkix(7) id-mod(0) id-mod-tsp(13)}
4 DEFINITIONS IMPLICIT TAGS ::=
12 Extensions, AlgorithmIdentifier
13 FROM PKIX1Explicit88 {iso(1) identified-organization(3)
14 dod(6) internet(1) security(5) mechanisms(5) pkix(7)
15 id-mod(0) id-pkix1-explicit-88(1)}
17 GeneralName FROM PKIX1Implicit88 {iso(1)
18 identified-organization(3) dod(6) internet(1) security(5)
19 mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit-88(2)}
21 ContentInfo FROM CryptographicMessageSyntax {iso(1)
22 member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9)
23 smime(16) modules(0) cms(1)}
25 PKIFreeText FROM PKIXCMP {iso(1) identified-organization(3)
26 dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0)
29 -- Locally defined OIDs --
31 -- eContentType for a time-stamp token
33 id-ct-TSTInfo OBJECT IDENTIFIER ::= { iso(1) member-body(2)
34 us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) ct(1) 4}
38 TimeStampReq ::= SEQUENCE {
39 version INTEGER { v1(1) },
40 messageImprint MessageImprint,
41 --a hash algorithm OID and the hash value of the data to be
43 reqPolicy TSAPolicyId OPTIONAL,
44 nonce INTEGER OPTIONAL,
45 certReq BOOLEAN DEFAULT FALSE,
46 extensions [0] IMPLICIT Extensions OPTIONAL }
48 MessageImprint ::= SEQUENCE {
49 hashAlgorithm AlgorithmIdentifier,
50 hashedMessage OCTET STRING }
52 TSAPolicyId ::= OBJECT IDENTIFIER
56 TimeStampResp ::= SEQUENCE {
58 timeStampToken TimeStampToken OPTIONAL }
60 -- The status is based on the definition of status
61 -- in section 3.2.3 of [RFC2510]
63 PKIStatusInfo ::= SEQUENCE {
65 statusString PKIFreeText OPTIONAL,
66 failInfo PKIFailureInfo OPTIONAL }
68 PKIStatus ::= INTEGER {
70 -- when the PKIStatus contains the value zero a TimeStampToken, as
71 requested, is present.
73 -- when the PKIStatus contains the value one a TimeStampToken,
74 with modifications, is present.
77 revocationWarning (4),
78 -- this message contains a warning that a revocation is
80 revocationNotification (5)
81 -- notification that a revocation has occurred }
83 -- When the TimeStampToken is not present
84 -- failInfo indicates the reason why the
85 -- time-stamp request was rejected and
86 -- may be one of the following values.
88 PKIFailureInfo ::= BIT STRING {
90 -- unrecognized or unsupported Algorithm Identifier
92 -- transaction not permitted or supported
94 -- the data submitted has the wrong format
95 timeNotAvailable (14),
96 -- the TSA's time source is not available
97 unacceptedPolicy (15),
98 -- the requested TSA policy is not supported by the TSA.
99 unacceptedExtension (16),
100 -- the requested extension is not supported by the TSA.
101 addInfoNotAvailable (17)
102 -- the additional information requested could not be understood
103 -- or is not available
105 -- the request cannot be handled due to system failure }
107 TimeStampToken ::= ContentInfo
109 -- contentType is id-signedData as defined in [CMS]
110 -- content is SignedData as defined in([CMS])
111 -- eContentType within SignedData is id-ct-TSTInfo
112 -- eContent within SignedData is TSTInfo
114 TSTInfo ::= SEQUENCE {
115 version INTEGER { v1(1) },
117 messageImprint MessageImprint,
118 -- MUST have the same value as the similar field in
120 serialNumber INTEGER,
121 -- Time-Stamping users MUST be ready to accommodate integers
123 genTime GeneralizedTime,
124 accuracy Accuracy OPTIONAL,
125 ordering BOOLEAN DEFAULT FALSE,
126 nonce INTEGER OPTIONAL,
127 -- MUST be present if the similar field was present
128 -- in TimeStampReq. In that case it MUST have the same value.
129 tsa [0] GeneralName OPTIONAL,
130 extensions [1] IMPLICIT Extensions OPTIONAL }
132 Accuracy ::= SEQUENCE {
133 seconds INTEGER OPTIONAL,
134 millis [0] INTEGER (1..999) OPTIONAL,
135 micros [1] INTEGER (1..999) OPTIONAL }