Indy 9 | Content | Index | Reference

TIdX509
Hierarchy, Properties, Methods, See Also, Unit: IdSSLOpenSSL
Implements X.509 certificates for SSL transports.

    TIdX509 = class(TObject)

Unit
IdSSLOpenSSL
Description
TIdX509 is a class that implements support for X.509 Certificates as required for use with the Indy implementation of the OpenSSL Secure Socket Layer transport.

TIdX509.Fingerprint
TIdX509
Message digest for the X.509 certificate.

    property Fingerprint: TEVP_MD;

Description
Fingerprint is a read-only TEVP_MD property that represents the message digest value for the X.509 certificate.

TIdX509.FingerprintAsString
TIdX509
Hexadecimal representation of the Fingerprint for the X.509 certificate.

    property FingerprintAsString: String;

Description
FingerprintAsString is a read-only String property that represents the Fingerprint for the X.509 certificate as a colon-delimited hexadecimal string.

TIdX509.Issuer
TIdX509
Represents the issuing authority for an X.509 certificate.

    property Issuer: TIdX509Name;

Description
Issuer is a read-only TIdX509Name property that represents the name of the issuing authority for the X.509 certificate. Issuer can contain Nil when the certificate does not have an issuing authority.

TIdX509.notAfter
TIdX509
Expiration date and time for the X.509 certificate.

    property notAfter: TDateTime;

Description
notAfter is a read-only TDateTime property that represents the expiration date and time for the X.509 certificate. notAfter will contain 0.0 when the instance does not represent a valid X.509 certificate. notAfter is expressed in UTC (Universal Time Coordinates).

TIdX509.notBefore
TIdX509
Initial validity date and time for the X.509 certificate.

    property notBefore: TDateTime;

Description
notBefore is a read-only TDateTime property that represents the initial validity date and time for the X.509 certificate. notBefore will contain 0.0 when the instance does not represent a valid X.509 certificate. notBefore is expressed in UTC (Universal Time Coordinates).

TIdX509.Subject
TIdX509
Represents the certificate party for an X.509 certificate.

    property Subject: TIdX509Name;

Description
Subject is a read-only TIdX509Name property that represents the name of the certificate party for the X.509 certificate. Subject can contain Nil when the certificate does not have an certificate party.

TIdX509.Create
TIdX509
Constructor for the object instance.

    constructor Create(aX509: PX509); virtual;

Parameters
aX509: PX509
Pointer to the X.509 certificate for the object instance.
Description
Create is the constructor for the object instance, and relies on the inherited Create method. Create assigns the X.509 certificate in aX509 to the internal certificate buffer. Create also clears the Subject and Issuer X.509 names for the certificate.

TIdX509.Destroy
TIdX509
Frees an object instance.

    destructor Destroy; override;

Description
Destroy is the destructor for the object instance. Destroy frees the Subject and Issuer X.509 certificate names for the object instance, and calls the inherited Destroy method.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.