Class TgoOpenSSL
Unit
Grijjy.OpenSSL
Declaration
type TgoOpenSSL = class(TObject)
Description
OpenSSL protocol handler
Hierarchy
Overview
Methods
|
constructor Create; |
|
destructor Destroy; override; |
|
function Connect(const AALPN: Boolean = False): Boolean; |
|
procedure Release; |
|
procedure Read(const ABuffer: Pointer = nil; const ASize: Integer = 0); |
|
function Write(const ABuffer: Pointer; const ASize: Integer): Boolean; |
|
function ALPN: Boolean; |
Properties
Description
Methods
|
constructor Create; |
|
|
destructor Destroy; override; |
|
|
function Connect(const AALPN: Boolean = False): Boolean; |
Start SSL connect handshake
|
|
procedure Release; |
Free SSL related objects
|
|
procedure Read(const ABuffer: Pointer = nil; const ASize: Integer = 0); |
Do SSL read from socket
|
|
function Write(const ABuffer: Pointer; const ASize: Integer): Boolean; |
Do SSL write to socket
|
|
function ALPN: Boolean; |
Returns True if ALPN is negotiated
|
Properties
|
property Certificate: TBytes read FCertificate write FCertificate; |
Certificate in PEM format
|
|
property PrivateKey: TBytes read FPrivateKey write FPrivateKey; |
Private key in PEM format
|
|
property Password: UnicodeString read FPassword write FPassword; |
Password for private key
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|