Network Working Group P. Gutmann Request for Comments: 3274 University of Auckland Category: Standards Track June 2002Compressed Data Content Type for Cryptographic Message Syntax (CMS)
1. Introduction
This document describes a compressed data content type for CMS. This is implemented as a new ContentInfo type and is an extension to the types currently defined in CMS [RFC2630]. CMS implementations SHOULD include support for the CompressedData content type.
Gutmann Standards Track [Page 1]
RFC 3274 Compressed Data Content Type for CMS June 2002 1.1 Compressed Data Content TypeThe compressed-data content type consists of content of any type, compressed using a specified algorithm. The following object identifier identifies the compressed-data content type:
Gutmann Standards Track [Page 2]
RFC 3274 Compressed Data Content Type for CMS June 2002
30 0D 06 0B 2A 86 48 86 F7 0D 01 09 10 03 08
2. Compression Types
CMS implementations that support the CompressedData content type MUST include support for the ZLIB compression algorithm [RFC1950] [RFC1951], which has a freely-available, portable and efficient reference implementation. The following object identifier identifies ZLIB:
2.1. Implementation notes
ZLIB allows for a number of compression levels ranging from good but slow compression, to less good but fast compression. The compression level is always compatible with the decompression algorithm, so there is no need to specify the compression level as an algorithm parameter.
Gutmann Standards Track [Page 3]
RFC 3274 Compressed Data Content Type for CMS June 2002 3. Security ConsiderationsThis RFC is not concerned with security, except for the fact that compressing data before encryption can enhance the security provided by other processing steps by reducing the quantity of known plaintext available to an attacker. However, implementations should be aware of possible security threats of combining security sensitive material with possibly untrusted data before the compression and encryption. This is because information about the sensitive data may be inferred from knowing the untrusted data and the compression ratio.
4. IANA Considerations
The CompressedData content type and compression algorithms are identified by object identifiers (OIDs). OIDs were assigned from an arc contributed to the S/MIME Working Group by RSA Security. Should additional compression algorithms be introduced, the advocates for such algorithms are expected to assign the necessary OIDs from their own arcs. No action by the IANA is necessary for this document or any anticipated updates.
Gutmann Standards Track [Page 4]
RFC 3274 Compressed Data Content Type for CMS June 2002
Appendix A: ASN.1 Module
Gutmann Standards Track [Page 5]
RFC 3274 Compressed Data Content Type for CMS June 2002
Full Copyright Statement