TIdX509
Implements X.509 certificates for SSL transports.
Unit
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.
Message digest for the X.509 certificate.
Description
Fingerprint is a read-only
TEVP_MD property that represents the message digest value for the X.509 certificate.
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.
Represents the issuing authority for an X.509 certificate.
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.
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).
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).
Represents the certificate party for an X.509 certificate.
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.
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.
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.