Please note thatSignedAndEnvelopedData ::= SEQUENCE { version Version, recipientInfos RecipientInfos, digestAlgorithms DigestAlgorithmIdentifiers, encryptedContentInfo EncryptedContentInfo, certificates [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL, crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, signerInfos SignerInfos } DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier SignerInfos ::= SET OF SignerInfo
SignerInfo
structures only store the issuer and serial number of the signing certificate but not the certificate itself. Neither are certificates added automatically by this class when signing is done. If a certificate shall be included with an instance of this class then it must be added explicitly by calling addCertificate(..)
. The encryption and decryption methods of this class do not work like update(...)
of a Cipher
class but encrypt and decrypt data with a freshly initialized cipher instance.
@author Volker Roth
@author Markus Tak
@version "$Id: SignedAndEnvelopedData.java,v 1.6 2002/08/28 21:40:35 jpetersExp $"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|