Internet Engineering Task Force (IETF) R. Housley Request for Comments: 6019 Vigil Security Obsoletes: 4049 September 2010 Category: Standards Track ISSN: 2070-1721BinaryTime: An Alternate Format for Representing Date and Time in ASN.1
Housley Standards Track [Page 1]
RFC 6019 BinaryTime September 2010 1. IntroductionThis document specifies a new ASN.1 [ASN1] type for representing time: BinaryTime. This ASN.1 type can be used to represent date and time values.
1.1. BinaryTime
Many operating systems represent date and time as an integer. This document specifies an ASN.1 type for representing date and time in a manner that is also an integer. Although some conversion may be necessary due to the selection of a different epoch or a different granularity, an integer representation has several advantages over the UTCTime and GeneralizedTime types.
1.2. Binary Signing Time Attribute
The signing-time attribute is defined in [CMS]. The alternative binary-signing-time attribute is defined in this document in order to obtain the benefits of the BinaryTime type.
Housley Standards Track [Page 2]
RFC 6019 BinaryTime September 2010 1.3. TerminologyThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [STDWORDS].
2. BinaryTime Definition
The BinaryTime ASN.1 type is used to represent an absolute time and date. A positive integer value is used to represent time values based on coordinated universal time (UTC), which is also called Greenwich Mean Time (GMT) and ZULU clock time.
3. Binary Signing Time Attribute Definition
The binary-signing-time attribute type specifies the time at which the signer (purportedly) performed the signing process. The binary- signing-time attribute type is intended for use in the CMS SignedData content type; however, the attribute can also be used with the AuthenticatedData content type. The binary-signing-time attribute MUST be a signed attribute or an authenticated attribute; it MUST NOT be an unsigned attribute, unauthenticated attribute, or unprotected attribute.
Housley Standards Track [Page 3]
RFC 6019 BinaryTime September 2010
The following object identifier identifies the binary-signing-time attribute:
4. Security Considerations
Use of the binary-signing-time attribute does not necessarily provide confidence in the time when the signature value was produced. Therefore, acceptance of a purported signing time is a matter of a recipient's discretion. RFC 3161 [TSP] specifies a protocol for obtaining time stamps from a trusted entity.
Housley Standards Track [Page 4]
RFC 6019 BinaryTime September 2010 5. References 5.1. Normative References[ASN1] CCITT. Recommendation X.208: Specification of Abstract
5.2. Informative References
[POSIX] Institute of Electrical and Electronics Engineers. IEEE
Housley Standards Track [Page 5]
RFC 6019 BinaryTime September 2010
Appendix A: ASN.1 Module