RSA Security logo

RSA BSAFE Cert-C
API Reference

PKI_SENDER_INFO Struct Reference

The PKI_SENDER_INFO structure holds information associated with the sender of a PKI message.

This includes the information needed to determine the identity of the sender and the method used to protect the integrity of the data exchanged between the PKI entities. Use PKI_SENDER_INFO with the C_SetPKIMsgSender() and C_GetPKIMsgSender() functions:

Data Fields
senderId A PKI_ENTITY_ID structure that identifies the sender of the PKI message. If this field is optional for a given service provider, set senderId.type to zero (0).
digestAlgorithmId An ALGORITHM_IDENTIFIER structure that identifies the message digest algorithm under which the message data and authenticatedAttributes, if present, are digested. If this field is optional for a given service provider, set digestAlgorithmId.algorithmId to zero (0).
authenticatedAttributes An ATTRIBUTES_OBJ object that contains a set of attributes that are protected under the signature of the signer. If this field is optional for a given service provider, set it to (ATTRIBUTES_OBJ)0.
signatureAlgorithmId An ALGORITHM_IDENTIFIER structure that identifies the signature algorithm to use to encrypt the digest. If this field is optional for a given service provider, set signatureAlgorithmId.algorithmId to zero (0).
extraAttributes An ATTRIBUTES_OBJ object that contains extra attributes needed to specify the identity of the signer, or protection information related to the message to be sent. If this field is optional for a given service provider, set it to (ATTRIBUTES_OBJ)0.

#include <pkimsg.h>

01137 typedef struct {
01138   PKI_ENTITY_ID        senderId;
01139   ALGORITHM_IDENTIFIER digestAlgorithmId;
01140   ATTRIBUTES_OBJ       authenticatedAttributes;
01141   ALGORITHM_IDENTIFIER signatureAlgorithmId;
01142   ATTRIBUTES_OBJ       extraAttributes;
01143 } PKI_SENDER_INFO;

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


RSA BSAFE® Cert-C 2.7 API Reference