RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

PKCS10_FIELDS Struct Reference

Allows viewing and updating of an opaque PKCS10_OBJ.

This structure allows viewing and updating information in an opaque PKCS10_OBJ object by calling C_GetPKCS10Fields() and C_SetPKCS10Fields(). It holds the information necessary to create a PCKS #10 certificate request message.

Samples:

fulfill.c, genreq.c, myprint.c, p10util.c, and pkcs10.c.

#include <pkcs10.h>

typedef struct {

  UINT2          version;

  NAME_OBJ       subjectName;

  ITEM           publicKey;

  ATTRIBUTES_OBJ attribute;

  POINTER        reserved;
} PKCS10_FIELDS;

Data Fields

UINT2 version
 A UINT2 value that identifies the PKCS #10 version. More...

NAME_OBJ subjectName
 A NAME_OBJ object that contains the subject name for the certificate to be requested.

ITEM publicKey
 An ITEM structure that holds a pointer to the DER-encoding of the subject's public key, obtained using C_GetPKCS10Fields(). More...

ATTRIBUTES_OBJ attribute
 An ATTRIBUTES_OBJ object that contains additional information about the subject of the certificate request. More...

POINTER reserved
 Set this field to NULL_PTR.
Reserved for future use.


Field Documentation

ATTRIBUTES_OBJ attribute
 

An ATTRIBUTES_OBJ object that contains additional information about the subject of the certificate request. This is an optional field.

ITEM publicKey
 

An ITEM structure that holds a pointer to the DER-encoding of the subject's public key, obtained using C_GetPKCS10Fields(). It is not directly contained in the structure. The ITEM contains a pointer into the PKCS10_OBJ.

UINT2 version
 

A UINT2 value that identifies the PKCS #10 version. Set it to PKCS10_VERSION_1.


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