public interface Content extends ContentStream
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.
ContentStream,
ContentInfo,
Data,
SignedData,
EnvelopedData,
SignedAndEnvelopedData,
DigestedData,
EncryptedData| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes the supplied PKCS#7 content type, given as ASN1Object.
|
decode, getBlockSize, getContentType, setBlockSize, toASN1Object, toStringvoid decode(ASN1Object obj) throws PKCSParsingException
obj - the PKCS#7 content type to be decoded, as ASN1ObjectPKCSParsingException - if an error occurs during the decoding process