RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

PKI_POP_GEN_SIGNATURE_INFO Struct Reference

Contains the information needed to generate a POP 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. Use this structure in the PKI_POP_GEN_INFO structure.

#include <pkimsg.h>

typedef struct {

  int authInfoType;

  union {
    ALTERNATE_NAME subject;
    PBM_INFO       pbmInfo;
  } authInfo;

  ITEM publicKey;
} PKI_POP_GEN_SIGNATURE_INFO;

Data Fields

int authInfoType
 An int value that identifies the type of data structure in the authInfo union. More...

union PKI_POP_GEN_SIGNATURE_INFO::@15 authInfo
 A union that contains the authentication information specified by authInfoType. More...

ITEM publicKey
 An ITEM structure that specifies the DER-encoded subject public key information. More...


Field Documentation

union { ... } 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.

int 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.

ITEM 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.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 067-001001-2720-001-000 - 2.7.2