Class TgoSSLHelper
Unit
Grijjy.OpenSSL
Declaration
type TgoSSLHelper = class(TObject)
Description
Helper class for SSL
Hierarchy
Overview
Methods
|
class procedure LoadSSL; |
|
class procedure UnloadSSL; |
|
class procedure SetCertificate(ctx: PSSL_CTX; const ACertificate, APrivateKey: TBytes; const APassword: UnicodeString = ''); overload; |
|
class procedure SetCertificate(ctx: PSSL_CTX; const ACertificateFile, APrivateKeyFile: UnicodeString; const APassword: UnicodeString = ''); overload; |
|
class function Sign_RSASHA256(const AData: TBytes; const APrivateKey: TBytes; out ASignature: TBytes): Boolean; |
|
class function HMAC_SHA256(const AKey, AData: RawByteString): String; |
|
class function HMAC_SHA1(const AKey, AData: RawByteString): TBytes; |
Description
Methods
|
class procedure LoadSSL; |
|
|
class procedure UnloadSSL; |
|
|
class procedure SetCertificate(ctx: PSSL_CTX; const ACertificate, APrivateKey: TBytes; const APassword: UnicodeString = ''); overload; |
|
|
class procedure SetCertificate(ctx: PSSL_CTX; const ACertificateFile, APrivateKeyFile: UnicodeString; const APassword: UnicodeString = ''); overload; |
|
|
class function Sign_RSASHA256(const AData: TBytes; const APrivateKey: TBytes; out ASignature: TBytes): Boolean; |
|
|
class function HMAC_SHA256(const AKey, AData: RawByteString): String; |
|
|
class function HMAC_SHA1(const AKey, AData: RawByteString): TBytes; |
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|