| RSA BSAFE Cert-C |
Certificate Components for C |
| Crypto-C 6.2.1 Developer's Guide | ||
| Search |
CERT_OBJ object.
The application calls C_GetCertFields() and C_SetCertFields().
cert.c, certutil.c, cftest.c, cmpku.c, cmpreq.c, cmprev.c, cms.c, crl.c, datamsg.c, dcrl.c, fulfill.c, kcscrs.c, kcsscep.c, keyutil.c, ldap.c, ldap2.c, mscapicert.c, myprint.c, p7stream.c, pkcs10.c, pkcs11db.c, pkcs11msg.c, pkcs12exp.c, pkiutil.c, saltname.c, scepreq.c, and verisign.c.
#include <certapi.h>
typedef struct CERT_FIELDS { UINT2 version; ITEM serialNumber; int signatureAlgorithm; NAME_OBJ issuerName; struct { UINT4 start; UINT4 end; } validity; NAME_OBJ subjectName; ITEM publicKey; BIT_STRING issuerUniqueID; BIT_STRING subjectUniqueID; EXTENSIONS_OBJ certExtensions; POINTER reserved; } CERT_FIELDS;
Data Fields | |
| UINT2 | version |
A UINT2 value that indicates the certificate's version number. More... | |
| ITEM | serialNumber |
An ITEM structure that specifies the certificate's serial number. More... | |
| int | signatureAlgorithm |
An int value that indicates the algorithm used to create the certificate signature. More... | |
| NAME_OBJ | issuerName |
A NAME_OBJ object that contains the name of the issuer that signed the certificate. More... | |
| struct CERT_FIELDS::@1 | validity |
This structure consists of two parts: start and end. More... | |
| NAME_OBJ | subjectName |
A NAME_OBJ that contains the certificate's subject name. | |
| ITEM | publicKey |
An ITEM structure that points to the certificate's DER-encoded public key. More... | |
| BIT_STRING | issuerUniqueID |
A BIT_STRING structure that points to the certificate issuer's unique identification. More... | |
| BIT_STRING | subjectUniqueID |
A BIT_STRING structure that points to the certificate subject's unique identification. More... | |
| EXTENSIONS_OBJ | certExtensions |
An EXTENSIONS_OBJ object that contains X.509 v3 extensions for the certificate. More... | |
| POINTER | reserved |
Set this field to NULL_PTR.Reserved for future use. | |
|
|
An |
|
|
A |
|
|
A |
|
|
An |
|
|
An
|
|
|
An
|
|
|
A |
|
|
This structure consists of two parts:
|
|
|
A
Cert-C returns an error if the value of |