Class TSSLCryptLib

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSSLCryptLib = class(TCustomSSL)

Description

class implementing CryptLib SSL/SSH plugin.

Instance of this class will be created for each TTCPBlockSocket. You not need to create instance of this class, all is done by Synapse itself!

Hierarchy

Overview

Methods

Public constructor Create(const Value: TTCPBlockSocket); override;
Public destructor Destroy; override;
Public procedure SetCertCAFile(const Value: string); override;
Public function LibVersion: String; override;
Public function LibName: String; override;
Public procedure Assign(const Value: TCustomSSL); override;
Public function Connect: boolean; override;
Public function Accept: boolean; override;
Public function Shutdown: boolean; override;
Public function BiShutdown: boolean; override;
Public function SendBuffer(Buffer: TMemory; Len: Integer): Integer; override;
Public function RecvBuffer(Buffer: TMemory; Len: Integer): Integer; override;
Public function WaitingData: Integer; override;
Public function GetSSLVersion: string; override;
Public function GetPeerSubject: string; override;
Public function GetPeerIssuer: string; override;
Public function GetPeerName: string; override;
Public function GetPeerFingerprint: string; override;
Public function GetVerifyCert: integer; override;

Properties

Published property PrivateKeyLabel: string read FPrivateKeyLabel Write FPrivateKeyLabel;

Description

Methods

Public constructor Create(const Value: TTCPBlockSocket); override;

See TCustomSSL.Create

Public destructor Destroy; override;
 
Public procedure SetCertCAFile(const Value: string); override;

Load trusted CA's in PEM format

Public function LibVersion: String; override;

See TCustomSSL.LibVersion

Public function LibName: String; override;

See TCustomSSL.LibName

Public procedure Assign(const Value: TCustomSSL); override;

See TCustomSSL.Assign

Public function Connect: boolean; override;

See TCustomSSL.Connect and ssl_cryptlib for more details.

Public function Accept: boolean; override;

See TCustomSSL.Accept and ssl_cryptlib for more details.

Public function Shutdown: boolean; override;

See TCustomSSL.Shutdown

Public function BiShutdown: boolean; override;

See TCustomSSL.BiShutdown

Public function SendBuffer(Buffer: TMemory; Len: Integer): Integer; override;

See TCustomSSL.SendBuffer

Public function RecvBuffer(Buffer: TMemory; Len: Integer): Integer; override;

See TCustomSSL.RecvBuffer

Public function WaitingData: Integer; override;

See TCustomSSL.WaitingData

Public function GetSSLVersion: string; override;

See TCustomSSL.GetSSLVersion

Public function GetPeerSubject: string; override;

See TCustomSSL.GetPeerSubject

Public function GetPeerIssuer: string; override;

See TCustomSSL.GetPeerIssuer

Public function GetPeerName: string; override;

See TCustomSSL.GetPeerName

Public function GetPeerFingerprint: string; override;

See TCustomSSL.GetPeerFingerprint

Public function GetVerifyCert: integer; override;

See TCustomSSL.GetVerifyCert

Properties

Published property PrivateKeyLabel: string read FPrivateKeyLabel Write FPrivateKeyLabel;

name of certificate/key within PKCS#15 file. It can hold more then one certificate/key and each certificate/key must have unique label within one file.


Generated by PasDoc 0.9.0 on 2012-04-23 21:38:51