aws / aws-nitro-enclaves-sdk-c

This repo provides a C API for AWS Nitro Enclaves, including a KMS SDK that integrates it with attestation.
Apache License 2.0
99 stars 75 forks source link

cms: support context specific encrypted contents #83

Closed alcioa closed 2 years ago

alcioa commented 2 years ago

Some CMS responses contain implicit OCTETSTRINGs under CONTEXT_SPECIFIC ASN1 tags. Strip the tag and fetch the encrypted contents as they are.

Signed-off-by: Alexandru Ciobotaru alcioa@amazon.com