Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
NAME
CMS_verify, CMS_get0_signers — verify a CMS SignedData structureSYNOPSIS
#include <openssl/cms.h>CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, X509_STORE *store, BIO *indata, BIO *out, unsigned int flags);
CMS_get0_signers(CMS_ContentInfo *cms);
DESCRIPTION
CMS_verify() verifies the CMS SignedData structure cms. certs is a set of certificates in which to search for the signing certificate(s). store is a trusted certificate store used for chain verification. indata is the detached content if the content is not present in cms. The content is written to out if it is not NULL.- CMS_NOINTERN
- Do not use the certificates in the message itself when locating the signing certificate(s). This means that all the signing certificates must be in the certs parameter.
- CMS_NOCRL
- If CRL checking is enabled in store, then any CRLs in the message itself are ignored.
- CMS_TEXT
- MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain, an error is returned.
- CMS_NO_SIGNER_CERT_VERIFY
- Do not verify signing certificates.
- CMS_NO_ATTR_VERIFY
- Do not check the signed attributes signature.
- CMS_NO_CONTENT_VERIFY
- Do not check the content digest.