4 Jun 2003 07:41
example 5.2 basic signed content RSA
ronen <ronen <at> discretix.com>
2003-06-04 05:41:20 GMT
2003-06-04 05:41:20 GMT
hi,
i am coding CMS ( RFC3380 ) and i was parsing example 5.2 at
draft-ietf-smime-examples-10.txt and got to the Certificate part.
i like to know why it is SEQUENCE ( in the example ) and not SET OF (as
like in the CMS RFC3380 ).
This is how it is defined in the RFC :
SignedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithms DigestAlgorithmIdentifiers,
encapContentInfo EncapsulatedContentInfo,
certificates [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
signerInfos SignerInfos }
CertificateSet ::= SET OF CertificateChoices
in draft-ietf-smime-examples-10.txt ex5.2 Basic signed content it is :
-------------------- Content
Info -----------------------------------------------------------------------
-
0 30 850: SEQUENCE {
-------------------- Content
Type ---------------------------------------------------------------------
4 06 9: OBJECT IDENTIFIER signedData (1 2 840 113549 1 7 2)
: (PKCS #7)
(Continue reading)
RSS Feed