TROSocketOpenSSL
Overview
Location
- Unit: uROSocket.pas
- Ancestry: TPersistent | TROOpenSSL | TROSocketOpenSSL
constructor Create (declared in TROOpenSSL)
Creates a new instance.
constructor Create
constructor Create (TROSocket) reintroduce
Creates a new instance with a supplied value.
constructor Create(aOwner: TROSocket)
Parameters:
- aOwner:
Accept
function Accept: Boolean
Assign override
Copies data from a given source.
procedure Assign(Source: TPersistent)
Parameters:
- Source: Instance whose properties will be copied
CADir (declared in TROOpenSSL)
property CADir: string read write
CAFile (declared in TROOpenSSL)
property CAFile: string read write
CAKeyFile (declared in TROOpenSSL)
property CAKeyFile: string read write
CertFile (declared in TROOpenSSL)
Gets or sets the file name and path to the certificate file.
property CertFile: string read write
Ciphers (declared in TROOpenSSL)
property Ciphers: string read write
Connect
function Connect: Boolean
GetCAContent
function GetCAContent: string
LastError (declared in TROOpenSSL)
property LastError: Integer read
LastErrorDesc (declared in TROOpenSSL)
property LastErrorDesc: string read
LoadAutoGeneratedCA protected
procedure LoadAutoGeneratedCA
LoadCA protected
procedure LoadCA
LoadCertificate protected
procedure LoadCertificate
OnCertificateGenerating (declared in TROOpenSSL)
property OnCertificateGenerating: TROOpenSSLCertificateGenerating read write
delegate: procedure OnCertificateGenerating(var Subject: string; var Issuer: string; var HashAlgorithm: string; var BitNumber: Word)
OnPassword (declared in TROOpenSSL)
Asks SSL certificate's password
property OnPassword: TROOpenSSLPassword read write
delegate: procedure OnPassword(Sender: TROOpenSSL; var aPassword: string; const IsWrite: Boolean)
OnVerifyCeft (declared in TROOpenSSL)
Verificates certificate
property OnVerifyCeft: TROOpenSSLVerifyCeft read write
delegate: procedure OnVerifyCeft(anIssuer: string; aSubject: string; aSerial: Cardinal; ErrorCode: Cardinal; Depth: Cardinal; var Ok: Boolean)
Options (declared in TROOpenSSL)
property Options: TROOpenSSLOptions read write
PendingData
function PendingData: Boolean
Read
function Read(Buf: Pointer; Size: Integer): Integer
Parameters:
- Buf:
- Size:
SecurityLevel (declared in TROOpenSSL)
property SecurityLevel: Integer read write
Shutdown
procedure Shutdown
SNIHost (declared in TROOpenSSL)
property SNIHost: string read write
SSLEnabled (declared in TROOpenSSL)
property SSLEnabled: Boolean read write
SubjectAltName (declared in TROOpenSSL)
property SubjectAltName: string read write
VerifyDepth (declared in TROOpenSSL)
property VerifyDepth: Integer read write
VerifyModes (declared in TROOpenSSL)
property VerifyModes: TOpenSSLVerifyModes read write
WaitingData2
function WaitingData2: ssl_size_t
Write
function Write(Buf: Pointer; Size: Integer): Boolean
Parameters:
- Buf:
- Size:
CADir (declared in TROOpenSSL)
property CADir: string read write
CAFile (declared in TROOpenSSL)
property CAFile: string read write
CAKeyFile (declared in TROOpenSSL)
property CAKeyFile: string read write
CertFile (declared in TROOpenSSL)
Gets or sets the file name and path to the certificate file.
property CertFile: string read write
Ciphers (declared in TROOpenSSL)
property Ciphers: string read write
LastError (declared in TROOpenSSL)
property LastError: Integer read
LastErrorDesc (declared in TROOpenSSL)
property LastErrorDesc: string read
Options (declared in TROOpenSSL)
property Options: TROOpenSSLOptions read write
SecurityLevel (declared in TROOpenSSL)
property SecurityLevel: Integer read write
SNIHost (declared in TROOpenSSL)
property SNIHost: string read write
SSLEnabled (declared in TROOpenSSL)
property SSLEnabled: Boolean read write
SubjectAltName (declared in TROOpenSSL)
property SubjectAltName: string read write
VerifyDepth (declared in TROOpenSSL)
property VerifyDepth: Integer read write
VerifyModes (declared in TROOpenSSL)
property VerifyModes: TOpenSSLVerifyModes read write
constructor Create (declared in TROOpenSSL)
Creates a new instance.
constructor Create
constructor Create (TROSocket) reintroduce
Creates a new instance with a supplied value.
constructor Create(aOwner: TROSocket)
Parameters:
- aOwner:
Accept
function Accept: Boolean
Assign override
Copies data from a given source.
procedure Assign(Source: TPersistent)
Parameters:
- Source: Instance whose properties will be copied
Connect
function Connect: Boolean
GetCAContent
function GetCAContent: string
LoadAutoGeneratedCA protected
procedure LoadAutoGeneratedCA
LoadCA protected
procedure LoadCA
LoadCertificate protected
procedure LoadCertificate
PendingData
function PendingData: Boolean
Read
function Read(Buf: Pointer; Size: Integer): Integer
Parameters:
- Buf:
- Size:
Shutdown
procedure Shutdown
WaitingData2
function WaitingData2: ssl_size_t
Write
function Write(Buf: Pointer; Size: Integer): Boolean
Parameters:
- Buf:
- Size:
OnCertificateGenerating (declared in TROOpenSSL)
property OnCertificateGenerating: TROOpenSSLCertificateGenerating read write
delegate: procedure OnCertificateGenerating(var Subject: string; var Issuer: string; var HashAlgorithm: string; var BitNumber: Word)
OnPassword (declared in TROOpenSSL)
Asks SSL certificate's password
property OnPassword: TROOpenSSLPassword read write
delegate: procedure OnPassword(Sender: TROOpenSSL; var aPassword: string; const IsWrite: Boolean)
OnVerifyCeft (declared in TROOpenSSL)
Verificates certificate
property OnVerifyCeft: TROOpenSSLVerifyCeft read write
delegate: procedure OnVerifyCeft(anIssuer: string; aSubject: string; aSerial: Cardinal; ErrorCode: Cardinal; Depth: Cardinal; var Ok: Boolean)