iPXE
Data Fields
cms_message Struct Reference

A CMS message. More...

#include <cms.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct asn1_cursorraw
 Raw ASN.1 data. More...
 
struct cms_typetype
 Message type. More...
 
struct x509_chaincertificates
 List of all certificates (for signature messages) More...
 
struct list_head participants
 List of participant information blocks. More...
 
struct cipher_algorithmcipher
 Cipher algorithm. More...
 
struct asn1_cursor iv
 Cipher initialization vector. More...
 
struct asn1_cursor mac
 Cipher authentication tag. More...
 

Detailed Description

A CMS message.

Definition at line 55 of file cms.h.

Field Documentation

◆ refcnt

struct refcnt cms_message::refcnt

Reference count.

Definition at line 57 of file cms.h.

Referenced by cms_get(), and cms_put().

◆ raw

struct asn1_cursor* cms_message::raw

Raw ASN.1 data.

Definition at line 59 of file cms.h.

Referenced by cms_free(), and cms_parse().

◆ type

struct cms_type* cms_message::type

Message type.

Definition at line 61 of file cms.h.

Referenced by cms_parse(), and cms_parse_content_type().

◆ certificates

struct x509_chain* cms_message::certificates

List of all certificates (for signature messages)

Definition at line 64 of file cms.h.

Referenced by cms_free(), cms_is_signature(), cms_parse_certificates(), cms_parse_identifier(), and cms_parse_signed().

◆ participants

struct list_head cms_message::participants

List of participant information blocks.

Definition at line 66 of file cms.h.

Referenced by cms_free(), cms_parse_participants(), cms_recipient(), cms_verify(), and imgverify().

◆ cipher

struct cipher_algorithm* cms_message::cipher

◆ iv

struct asn1_cursor cms_message::iv

Cipher initialization vector.

Definition at line 71 of file cms.h.

Referenced by cms_cipher_key(), and cms_parse_cipher_algorithm().

◆ mac

struct asn1_cursor cms_message::mac

Cipher authentication tag.

Definition at line 73 of file cms.h.

Referenced by cms_decrypt(), and cms_parse_mac().


The documentation for this struct was generated from the following file: