RSA Security logo

RSA BSAFE Cert-C
API Reference

PKI_POP_GEN_SIGNATURE_INFO Struct Reference

Contains the information needed to generate a Proof-of-Possession for a signature private-key corresponding to the public key in a certification request, using either a digital signature or a password-based MAC.

Generally, the application need not specify the subject name and public key in this structure. Instead, they are usually specified in the certTemplate field of the PKI_MSG_FIELDS of the request message object. Use PKI_POP_GEN_SIGNATURE_INFO in the PKI_POP_GEN_INFO structure.

Data Fields
authInfoType An int value that identifies the type of data structure in the authInfo union. Cert-C supports the following authentication information types:
Authentication Information Type Description
PKI_POP_AUTH_TYPE_NAME The subject field is valid.
PKI_POP_AUTH_TYPE_PBM The pbmInfo field is valid.

authInfo A union that contains the authentication information specified by authInfoType.
subject - An ALTERNATE_NAME structure that contains the subject name corresponding to the public key being certified.
pbmInfo - A PBM_INFO structure that contains the password-based MAC information used to authenticate the request.
publicKey An ITEM structure that specifies the DER-encoded subject public-key information. This includes both the public-key value and the public-key algorithm-identifier.

#include <pkimsg.h>

01326 typedef struct {
01327   int authInfoType;             /* one of PKI_POP_AUTH_*   */
01328   union {
01329     ALTERNATE_NAME subject;     /* name of subject         */
01330     PBM_INFO       pbmInfo;     /* password-based MAC info */
01331   } authInfo;
01332   ITEM publicKey;               /* subject public key info */
01333 } PKI_POP_GEN_SIGNATURE_INFO;

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


RSA BSAFE® Cert-C 2.7 API Reference