sa.com/rsalabs/pubs/PKCS/html/pkcs-7.html"> PKCS#7. The ASN.1 definition of this structure is
EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL } EncryptedContent ::= OCTET STRING ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
contentType
indicates the type of content embedded in the EncryptedContent. The encryptedContent is optional; if it is not included in this structure then it must be provided by other means (such as a detached file).
PKCS#7 specifies six content types, of which five are supported: {@link Data data}, {@link SignedData signedData}, {@link EnvelopedData envelopedData}, {@link SignedAndEnvelopedData signedAndEnvelopedData}, and {@link EncryptedData encryptedData}. All of these content types have registered OIDs.
@author Volker Roth
@author Markus Tak
@version "$Id: EncryptedContentInfo.java,v 1.9 2007/08/30 08:45:05 pebingerExp $"