RtsX509CertInfo (STRUCT)

TYPE RtsX509CertInfo : STRUCT

This structuer contains common fiels of an certificate. Most values are stored in textual form if available. The alternative key usages and the signature algorithm are stored as RtsOID. Use the RtsOIDGetName function to get human readable names of this fields. The notBefore and notAfter fields are in UTC format and high resolution timestamp.

InOut:

Name

Type

Comment

ui32StructSize

UDINT

Structure size. Used if the structuer is extended in the futuer.

issuer

RtsX509CertName

Common fields of the issuer

subject

RtsX509CertName

Common fields of the subject

numOfAltNames

UDINT

Number of stored alternative names

pAltNames

POINTER TO RtsX509AltName

Pointer to a list of alternative names.

notBefore

ULINT

High resolution UTC timestamp

notAfter

ULINT

High resolution UTC timestamp

keyUsage

UDINT

Key usage field. Use the constans of X509CertKeyUsage to determin the key usages. Every value is represented by a specific bit of the value.

numOfExKeyUsages

UDINT

Number of extended key usages

pExKeyUsages

POINTER TO RtsOID

Pointer to a list of extended key usages.

signatureAlgorithm

RtsOID

OID of the signature algorithm. Use the RtsOIDGetName to get a human readable string.