X509Certificate structure

The X509Certificate structure represents an X.509 certificate.

Syntax


typedef struct _X509Certificate {
  DWORD        Version;
  DWORD        SerialNumber[4];
  ALG_ID       SignatureAlgorithm;
  FILETIME     ValidFrom;
  FILETIME     ValidUntil;
  PSTR         pszIssuer;
  PSTR         pszSubject;
  PctPublicKey *pPublicKey;
} X509Certificate, *PX509Certificate;

Members

Version

The X.509 version number.

SerialNumber

The serial number of the certificate.

SignatureAlgorithm

The ID of the algorithm used to create the digital signature for the certificate.

ValidFrom

The beginning of the period of validity for the certificate.

ValidUntil

The end of the period of validity for the certificate.

pszIssuer

A pointer to a string that specifies the issuer of the certificate.

pszSubject

A pointer to a string that specifies the subject of the certificate.

pPublicKey

A pointer to the public key used to create the signature for the certificate.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Schannel.h

 

 

Show: