iaik.pkcs.pkcs7
Interface Content

All Superinterfaces:
ContentStream
All Known Implementing Classes:
Data, DigestedData, EncryptedData, EnvelopedData, SignedAndEnvelopedData, SignedData

public interface Content
extends ContentStream

The interface for the non-stream implementations of the PKCS#7 content types.

This interface extends the ContentStream interface about the decode(ASN1Object obj) method that additionally has to be implemented by any class that represents the non-stream implementation of one the several PKCS#7 content types. Within the IAIK-JCE PKCS#7 package, this interface is implemented for all six content types specified by PKCS#7, Version 1.5:

Implementations of this interface do not represent the contentType field of the PKCS#7 ContentInfo structure. They represent the ASN.1 structures defined in the PKCS#7 specification for the several PKCS#7 content types. Implementations of this interface are instantiated for supplying values for the content field of the PKCS#7 ContentInfo structure.

Version:
File Revision 16
See Also:
ContentStream, ContentInfo, Data, SignedData, EnvelopedData, SignedAndEnvelopedData, DigestedData, EncryptedData

Method Summary
 void decode(ASN1Object obj)
          Decodes the supplied PKCS#7 content type, given as ASN1Object.
 
Methods inherited from interface iaik.pkcs.pkcs7.ContentStream
decode, getBlockSize, getContentType, setBlockSize, toASN1Object, toString
 

Method Detail

decode

public void decode(ASN1Object obj)
            throws PKCSParsingException
Decodes the supplied PKCS#7 content type, given as ASN1Object.
Parameters:
obj - the PKCS#7 content type to be decoded, as ASN1Object
Throws:
PKCSParsingException - if an error occurs during the decoding process

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK