TrustCore SDK NanoCert API reference  version 7.0
signerInfoPtr Struct Reference

Information about a SignedData object's signer. More...

Data Fields

ubyte4 authAttrsLen
 Size of the authenticated attributes, pAuthAttrs.
 
CStream cs
 CStream for the certificate referenced by pSerialNumber and pIssuer.
 
const ubyte * digestAlgoOID
 Pointer to the OID for the message digest method to use for this signer. More...
 
AttributepAuthAttrs
 NULL or pointer to an Attributes structure for the signer's authenticated attributes. More...
 
struct ASN1_ITEM * pIssuer
 ASN1_ITEMPTR for the Issuer object in this signer's certificate.
 
AsymmetricKey * pKey
 Pointer to AsymmetricKey structure that contains the signer's private key.
 
struct ASN1_ITEM * pSerialNumber
 ASN1_ITEMPTR for the SerialNumber object in this signer's certificate.
 
AttributepUnauthAttrs
 NULL or pointer to an Attributes structure for the signer's non-authenticated attributes. More...
 
ubyte4 unauthAttrsLen
 Size of the authenticated attributes, pUnauthAttrs.
 
const ubyte * unused
 For future use.
 

Detailed Description

This structure contains information about a SignedData object's signer. The structure (when populated) provides signing information to the PKCS7_SignData() function.

Field Documentation

◆ digestAlgoOID

const ubyte* signerInfoPtr::digestAlgoOID

Stores a pointer to the OID for the message digest method to use for this signer. Valid values for this member are pointers to md5_OID or sha1_OID, which are defined in src/asn1/oiddefs.h.

◆ pAuthAttrs

Attribute* signerInfoPtr::pAuthAttrs

NULL or a pointer to an Attributes structure for the signer's authenticated attributes. If there is more than one attribute, use this member to reference an array of Attributes structures.

These attributes are optional if the ContentInfo object's type is data.

◆ pUnauthAttrs

Attribute* signerInfoPtr::pUnauthAttrs

NULL or a pointer to an Attributes structure for the signer's non-authenticated attributes. If there is more than one attribute, use this member to reference an array of Attributes structures.

The atttribute types are as defined by PKCS #9.


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