Class tcustomcryptohandler

Unit

Declaration

type tcustomcryptohandler = class(tmsecomponent)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fchainend: tcustomcryptohandler;

Methods

Protected procedure flush(var aclient: cryptoclientinfoty); overload; virtual;
Protected procedure flushchain(var aclient: cryptoclientinfoty);
Protected procedure writeerror(var aclient: cryptoclientinfoty);
Protected procedure readerror(var aclient: cryptoclientinfoty);
Protected procedure finalizeclient(var aclient: cryptoclientinfoty); virtual;
Protected function checkopen(const aindex: integer): pcryptoclientinfoty;
Protected procedure connect(const aclient: tmsefilestream; const alink: tcustomcryptohandler; const aindex: integer; out endhandler: tcustomcryptohandler; out endindex: integer);
Protected procedure disconnect( const aindex: integer);
Protected procedure open(var aclient: cryptoclientinfoty); virtual;
Protected procedure close(var aclient: cryptoclientinfoty); virtual;
Protected function read(var aclient: cryptoclientinfoty; var buffer; count: longint): longint; virtual;
Protected function write(var aclient: cryptoclientinfoty; const buffer; count: longint): longint; virtual;
Protected function seek(var aclient: cryptoclientinfoty; const offset: int64; origin: tseekorigin): int64; virtual;
Protected function getsize(var aclient: cryptoclientinfoty): int64; virtual;
Protected function getclient(const astream: tmsefilestream): pcryptoclientinfoty;
Public destructor destroy; override;
Public procedure flush(const astream: tmsefilestream); overload;
Public function encrypt(const adata: string; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string; overload;
Public function encrypt(const adata: pointer; adatalength: integer; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string; overload;
Public function decrypt(const adata: string; const base64: boolean = false): string;
Public function encrypttext(const atext: msestring; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string;
Public function decrypttext(const adata: string; const base64: boolean = false): msestring;

Properties

Published property chain: tcustomcryptohandler read fchain write setchain;

Description

Fields

Protected fchainend: tcustomcryptohandler;
 

Methods

Protected procedure flush(var aclient: cryptoclientinfoty); overload; virtual;
 
Protected procedure flushchain(var aclient: cryptoclientinfoty);
 
Protected procedure writeerror(var aclient: cryptoclientinfoty);
 
Protected procedure readerror(var aclient: cryptoclientinfoty);
 
Protected procedure finalizeclient(var aclient: cryptoclientinfoty); virtual;
 
Protected function checkopen(const aindex: integer): pcryptoclientinfoty;
 
Protected procedure connect(const aclient: tmsefilestream; const alink: tcustomcryptohandler; const aindex: integer; out endhandler: tcustomcryptohandler; out endindex: integer);
 
Protected procedure disconnect( const aindex: integer);
 
Protected procedure open(var aclient: cryptoclientinfoty); virtual;
 
Protected procedure close(var aclient: cryptoclientinfoty); virtual;
 
Protected function read(var aclient: cryptoclientinfoty; var buffer; count: longint): longint; virtual;
 
Protected function write(var aclient: cryptoclientinfoty; const buffer; count: longint): longint; virtual;
 
Protected function seek(var aclient: cryptoclientinfoty; const offset: int64; origin: tseekorigin): int64; virtual;
 
Protected function getsize(var aclient: cryptoclientinfoty): int64; virtual;
 
Protected function getclient(const astream: tmsefilestream): pcryptoclientinfoty;
 
Public destructor destroy; override;
 
Public procedure flush(const astream: tmsefilestream); overload;
 
Public function encrypt(const adata: string; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string; overload;
 
Public function encrypt(const adata: pointer; adatalength: integer; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string; overload;
 
Public function decrypt(const adata: string; const base64: boolean = false): string;
 
Public function encrypttext(const atext: msestring; const base64: boolean = false; const maxlinelength: integer = defaultbase64linelength): string;
 
Public function decrypttext(const adata: string; const base64: boolean = false): msestring;
 

Properties

Published property chain: tcustomcryptohandler read fchain write setchain;
 

Generated by PasDoc 0.16.0.