Hi,

I have a SignedData object (RFC3369 - Cryptographic Message Syntax, CMS) and want to verify that the digital signature is valid.

This is the structure of the SidnedData:

SignedData
-version
-digestAlgorithms
--algorithms
--parameters
-encapContentInfo
--eContentType
--eContent  ß message used for the signing
-certificates  ß certificate that has the public key to verify the signature
-crls
-signerInfos
--signerInfo
---version
---sid
---digestAlgorithm
---signedAttrs
---signatureAlgorithm
---signature ß signature to verify
---unsignedAttrs

The PKI schema it would use is PKCS #1 V1.5 (RSA 1024 with SHA-1).

How would I do this in Crypto++ 5.2.1? Sample code?

Thank you.
Christian


Reply via email to