Class TBrookHTTPServerSecurity

Unit

Declaration

type TBrookHTTPServerSecurity = class(TPersistent)

Description

Class which holds the TLS properties for the HTTPS server.

Hierarchy

Overview

Methods

Public procedure Assign(ASource: TPersistent); override;
Public procedure Clear; virtual;
Public procedure Validate; inline;

Properties

Published property Active: Boolean read FActive write FActive stored IsActiveStored;
Published property PrivateKey: string read FPrivateKey write FPrivateKey;
Published property PrivatePassword: string read FPrivatePassword write FPrivatePassword;
Published property Certificate: string read FCertificate write FCertificate;
Published property Trust: string read FTrust write FTrust;
Published property DHParams: string read FDHParams write FDHParams;

Description

Methods

Public procedure Assign(ASource: TPersistent); override;

Copies properties from another security source.

Parameters
ASource[in]
Security source.
Public procedure Clear; virtual;

Clears the common TLS properties.

Public procedure Validate; inline;

Validates the common TLS properties.

Properties

Published property Active: Boolean read FActive write FActive stored IsActiveStored;

Activates the TLS support.

Published property PrivateKey: string read FPrivateKey write FPrivateKey;

Content of the private key (key.pem) to be used by the HTTPS server.

Published property PrivatePassword: string read FPrivatePassword write FPrivatePassword;

Password of the private key.

Published property Certificate: string read FCertificate write FCertificate;

Content of the certificate (cert.pem) to be used by the HTTPS server.

Published property Trust: string read FTrust write FTrust;

Content of the certificate (ca.pem) to be used by the HTTPS server for client authentication.

Published property DHParams: string read FDHParams write FDHParams;

Content of the Diffie-Hellman parameters (dh.pem) to be used by the HTTPS server for key exchange.


Generated by PasDoc 0.16.0.