struct list_head info
List of signer information blocks.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
size_t signature_len
Length of signature.
struct stp_switch root
Root switch.
struct pubkey_algorithm * pubkey
Public-key algorithm.
struct x509_chain * chain
Certificate chain.
static void cms_put(struct cms_signature *sig)
Drop reference to CMS signature.
int cms_verify(struct cms_signature *sig, userptr_t data, size_t len, const char *name, time_t time, struct x509_chain *store, struct x509_root *root)
Verify CMS signature.
Access to external ("user") memory.
A doubly-linked list entry (or list head)
An X.509 certificate chain.
void * signature
Signature.
int cms_signature(const void *data, size_t len, struct cms_signature **sig)
Create CMS signature.
#define ref_get(refcnt)
Get additional reference to object.
struct list_head list
List of signer information blocks.
An X.509 root certificate list.
struct digest_algorithm * digest
Digest algorithm.
A message digest algorithm.
uint8_t data[48]
Additional event data.
struct x509_chain * certificates
List of all certificates.
static struct cms_signature * cms_get(struct cms_signature *sig)
Get reference to CMS signature.
int64_t time_t
Seconds since the Epoch.
uint64_t time
Current time.
#define ref_put(refcnt)
Drop reference to object.
unsigned long userptr_t
A pointer to a user buffer.