]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Add support for Cryptographic Message Syntax (PKCS #7)
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Mar 2012 23:54:16 +0000 (23:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2012 11:41:23 +0000 (11:41 +0000)
commitbdb69d587e79219d7dca6f9aa21f8dd3f05adcac
tree24cab7c74fd7429998c14b0ccb01a0888b10265f
parentfe6e741c62e11655018996b5d281eaeb1af796c1
[crypto] Add support for Cryptographic Message Syntax (PKCS #7)

The Cryptographic Message Syntax (PKCS#7) provides a format for
encapsulating digital signatures of arbitrary binary blobs.  A
signature can be generated using

  openssl cms -sign -in <file to sign> -binary -noattr \
     -signer <signer>.crt -inkey <signer>.key -certfile <CA>.crt \
  -outform DER -out <signature>

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/cms.c [new file with mode: 0644]
src/include/ipxe/asn1.h
src/include/ipxe/cms.h [new file with mode: 0644]
src/include/ipxe/errfile.h