TROSocketOpenSSL

Overview

Location

 

constructor Create    (declared in TROOpenSSL)

constructor Create

constructor Create (TROSocket)  reintroduce

constructor Create(aOwner: TROSocket)

Parameters:

  • aOwner:

Accept

function Accept: Boolean

Assign  override

procedure Assign(aSource: TPersistent)

Parameters:

  • aSource:

CADir    (declared in TROOpenSSL)

property CADir: string read write

CAFile    (declared in TROOpenSSL)

property CAFile: string read write

CertFile    (declared in TROOpenSSL)

property CertFile: string read write

Ciphers    (declared in TROOpenSSL)

property Ciphers: string read write

Connect

function Connect: Boolean

LastError    (declared in TROOpenSSL)

property LastError: Integer read write

LastErrorDesc    (declared in TROOpenSSL)

property LastErrorDesc: string read write

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)

property OnPassword: TROOpenSSLPassword read write
delegate: procedure OnPassword(Sender: TROOpenSSL; var aPassword: string; const IsWrite: Boolean)

OnVerifyCeft    (declared in TROOpenSSL)

property OnVerifyCeft: TROOpenSSLVerifyCeft read write
delegate: procedure OnVerifyCeft(anIssuer: string; aSubject: string; aSerial: Cardinal; ErrorCode: Cardinal; Depth: Cardinal; var Ok: Boolean)

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

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

CertFile    (declared in TROOpenSSL)

property CertFile: string read write

Ciphers    (declared in TROOpenSSL)

property Ciphers: string read write

LastError    (declared in TROOpenSSL)

property LastError: Integer read write

LastErrorDesc    (declared in TROOpenSSL)

property LastErrorDesc: string 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

VerifyDepth    (declared in TROOpenSSL)

property VerifyDepth: Integer read write

VerifyModes    (declared in TROOpenSSL)

property VerifyModes: TOpenSSLVerifyModes read write

 

constructor Create    (declared in TROOpenSSL)

constructor Create

constructor Create (TROSocket)  reintroduce

constructor Create(aOwner: TROSocket)

Parameters:

  • aOwner:

Accept

function Accept: Boolean

Assign  override

procedure Assign(aSource: TPersistent)

Parameters:

  • aSource:

Connect

function Connect: Boolean

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)

property OnPassword: TROOpenSSLPassword read write
delegate: procedure OnPassword(Sender: TROOpenSSL; var aPassword: string; const IsWrite: Boolean)

OnVerifyCeft    (declared in TROOpenSSL)

property OnVerifyCeft: TROOpenSSLVerifyCeft read write
delegate: procedure OnVerifyCeft(anIssuer: string; aSubject: string; aSerial: Cardinal; ErrorCode: Cardinal; Depth: Cardinal; var Ok: Boolean)