Class TgoSSLHelper

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TgoSSLHelper = class(TObject)

Description

Helper class for SSL

Hierarchy

  • TObject
  • TgoSSLHelper

Overview

Methods

Public class procedure LoadSSL;
Public class procedure UnloadSSL;
Public class procedure SetCertificate(ctx: PSSL_CTX; const ACertificate, APrivateKey: TBytes; const APassword: UnicodeString = ''); overload;
Public class procedure SetCertificate(ctx: PSSL_CTX; const ACertificateFile, APrivateKeyFile: UnicodeString; const APassword: UnicodeString = ''); overload;
Public class function Sign_RSASHA256(const AData: TBytes; const APrivateKey: TBytes; out ASignature: TBytes): Boolean;
Public class function HMAC_SHA256(const AKey, AData: RawByteString): String;
Public class function HMAC_SHA1(const AKey, AData: RawByteString): TBytes;

Description

Methods

Public class procedure LoadSSL;
 
Public class procedure UnloadSSL;
 
Public class procedure SetCertificate(ctx: PSSL_CTX; const ACertificate, APrivateKey: TBytes; const APassword: UnicodeString = ''); overload;
 
Public class procedure SetCertificate(ctx: PSSL_CTX; const ACertificateFile, APrivateKeyFile: UnicodeString; const APassword: UnicodeString = ''); overload;
 
Public class function Sign_RSASHA256(const AData: TBytes; const APrivateKey: TBytes; out ASignature: TBytes): Boolean;
 
Public class function HMAC_SHA256(const AKey, AData: RawByteString): String;
 
Public class function HMAC_SHA1(const AKey, AData: RawByteString): TBytes;
 

Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26