RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

PRIVATE_KEY_USAGE_PERIOD Reference

Represents the Private Key Usage Period extension for X.509 v3 certificates.

It allows the certificate issuer to specify a different validity period for the private key than for the certificate. The default criticality for this extension is NON_CRITICAL. A certificate can have only one Private Key Usage Period extension at a time. Use this structure with C_AddExtensionValue() and C_GetExtensionValue().

Samples:

extnhlp.c, fulfill.c, and myprint.c.

#include <certext.h>

typedef struct PRIVATE_KEY_USAGE_PERIOD {

  GENERALIZED_TIME start;

  GENERALIZED_TIME end;
} PRIVATE_KEY_USAGE_PERIOD;

Data Fields

GENERALIZED_TIME start
 A GENERALIZED_TIME structure that specifies the time when the private key validity starts. More...

GENERALIZED_TIME end
 A GENERALIZED_TIME structure that specifies the time when the private key validity ends. More...


Field Documentation

GENERALIZED_TIME end
 

A GENERALIZED_TIME structure that specifies the time when the private key validity ends. To omit, set all GENERALIZED_TIME fields to 0 (zero). Only one of the two fields, start or end, may be omitted.

GENERALIZED_TIME start
 

A GENERALIZED_TIME structure that specifies the time when the private key validity starts. To omit, set all GENERALIZED_TIME fields to 0 (zero).


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