Class tcustomopensslcryptohandler

Unit

Declaration

type tcustomopensslcryptohandler = class(tpaddedcryptohandler)

Description

No description available, ancestor tpaddedcryptohandler description follows
No description available, ancestor tbasecryptohandler description follows
No description available, ancestor tcustomcryptohandler description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Methods

Protected procedure clearerror;
Protected procedure checkerror(const err: cryptoerrorty = cerr_error); override;
Protected procedure cipherupdate(var aclient: cryptoclientinfoty; const source: pbyte; const sourcelen: integer; const dest: pbyte; out destlen: integer); override;
Protected procedure cipherfinal(var aclient: cryptoclientinfoty; const dest: pbyte; out destlen: integer); override;
Protected procedure initcipher(var aclient: cryptoclientinfoty); virtual; abstract;
Protected procedure restartcipher(var aclient: cryptoclientinfoty); override;
Protected procedure getkey(out akey: string; out asalt: string); virtual;
Protected procedure initializedata(var aclient: cryptoclientinfoty); override;
Protected procedure finalizedata(var aclient: cryptoclientinfoty); override;
Protected function padbufsize: integer; override;
Public constructor create(aowner: tcomponent); override;

Properties

Public property key: string read fkey write fkey;
Public property options: opensslcryptooptionsty read foptions write foptions default defaultopensslcryptooptions;
Public property ciphername: string read fciphername write fciphername;
Public property keyphrase: msestring read fkeyphrase write setkeyphrase;
Public property keylength: integer read fkeylength write fkeylength default 0;
Public property ongetkey: getkeyeventty read fongetkey write fongetkey;

Description

Methods

Protected procedure clearerror;
 
Protected procedure checkerror(const err: cryptoerrorty = cerr_error); override;
 
Protected procedure cipherupdate(var aclient: cryptoclientinfoty; const source: pbyte; const sourcelen: integer; const dest: pbyte; out destlen: integer); override;
 
Protected procedure cipherfinal(var aclient: cryptoclientinfoty; const dest: pbyte; out destlen: integer); override;
 
Protected procedure initcipher(var aclient: cryptoclientinfoty); virtual; abstract;
 
Protected procedure restartcipher(var aclient: cryptoclientinfoty); override;
 
Protected procedure getkey(out akey: string; out asalt: string); virtual;
 
Protected procedure initializedata(var aclient: cryptoclientinfoty); override;
 
Protected procedure finalizedata(var aclient: cryptoclientinfoty); override;
 
Protected function padbufsize: integer; override;
 
Public constructor create(aowner: tcomponent); override;
 

Properties

Public property key: string read fkey write fkey;
 
Public property options: opensslcryptooptionsty read foptions write foptions default defaultopensslcryptooptions;
 
Public property ciphername: string read fciphername write fciphername;
 
Public property keyphrase: msestring read fkeyphrase write setkeyphrase;
 
Public property keylength: integer read fkeylength write fkeylength default 0;
 
Public property ongetkey: getkeyeventty read fongetkey write fongetkey;
 

Generated by PasDoc 0.16.0.