# Class TSSLCryptLib

Description | Hierarchy | Fields | Methods | Properties

## Unit

ssl_cryptlib

## 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

- TObject
- TCustomSSL
- TSSLCryptLib

## Overview

### Methods

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

### Properties

| `property PrivateKeyLabel: string read FPrivateKeyLabel Write FPrivateKeyLabel;`

## Description

### Methods

| `constructor Create(const Value: TTCPBlockSocket); override;`

See TCustomSSL.Create

| `destructor Destroy; override;`

| `procedure SetCertCAFile(const Value: string); override;`

Load trusted CA's in PEM format

| `function LibVersion: String; override;`

See TCustomSSL.LibVersion

| `function LibName: String; override;`

See TCustomSSL.LibName

| `procedure Assign(const Value: TCustomSSL); override;`

See TCustomSSL.Assign

| `function Connect: boolean; override;`

See TCustomSSL.Connect and ssl_cryptlib for more details.

| `function Accept: boolean; override;`

See TCustomSSL.Accept and ssl_cryptlib for more details.

| `function Shutdown: boolean; override;`

See TCustomSSL.Shutdown

| `function BiShutdown: boolean; override;`

See TCustomSSL.BiShutdown

| `function SendBuffer(Buffer: TMemory; Len: Integer): Integer; override;`

See TCustomSSL.SendBuffer

| `function RecvBuffer(Buffer: TMemory; Len: Integer): Integer; override;`

See TCustomSSL.RecvBuffer

| `function WaitingData: Integer; override;`

See TCustomSSL.WaitingData

| `function GetSSLVersion: string; override;`

See TCustomSSL.GetSSLVersion

| `function GetPeerSubject: string; override;`

See TCustomSSL.GetPeerSubject

| `function GetPeerIssuer: string; override;`

See TCustomSSL.GetPeerIssuer

| `function GetPeerName: string; override;`

See TCustomSSL.GetPeerName

| `function GetPeerFingerprint: string; override;`

See TCustomSSL.GetPeerFingerprint

| `function GetVerifyCert: integer; override;`

See TCustomSSL.GetVerifyCert

### Properties

| `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