Discuss this help topic in SecureBlackbox Forum

TElHashFunction Constructor

TElHashFunction     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This method creates an instance of TElHashFunction class.

Declaration

[C#/Java]
    TElHashFunction(int Algorithm, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(byte[] OID, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(int Algorithm, TElCPParameters Parameters, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(byte[] OID, TElCPParameters Parameters, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(int Algorithm, TElHMACKeyMaterial Key);
    TElHashFunction(byte[] OID, TElHMACKeyMaterial Key);
    TElHashFunction(int Algorithm, TElHMACKeyMaterial Key, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(byte[] OID, TElHMACKeyMaterial Key, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(int Algorithm, TElCPParameters Parameters, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(byte[] OID, TElCPParameters Parameters, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(int Algorithm, TElHMACKeyMaterial Key, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElHashFunction(byte[] OID, TElHMACKeyMaterial Key, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);

[VB.NET]
    Sub New(ByVal Algorithm As Integer, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Algorithm As Integer, ByVal Parameters As TElCPParameters, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal Parameters As TElCPParameters, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Algorithm As Integer, ByVal Key As TElHMACKeyMaterial)
    Sub New(ByVal OID As Byte(), ByVal Key As TElHMACKeyMaterial)
    Sub New(ByVal Algorithm As Integer, ByVal Key As TElHMACKeyMaterial, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal Key As TElHMACKeyMaterial, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Algorithm As Integer, ByVal Parameters As TElCPParameters, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal Parameters As TElCPParameters, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Algorithm As Integer, ByVal Key As TElHMACKeyMaterial, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal Key As TElHMACKeyMaterial, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)

[Pascal]
    constructor Create(Algorithm : integer; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(const OID : ByteArray { array of byte }; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(Algorithm : integer; Parameters : TElRelativeDistinguishedName; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(const OID : ByteArray { array of byte }; Parameters : TElRelativeDistinguishedName; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(Algorithm : integer; Key : TElHMACKeyMaterial);
    constructor Create(const OID : ByteArray { array of byte }; Key : TElHMACKeyMaterial);
    constructor Create(Algorithm : integer; Key : TElHMACKeyMaterial; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(OID : ByteArray { array of byte }; Key : TElHMACKeyMaterial; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(Algorithm : integer; Parameters : TElRelativeDistinguishedName; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(const OID : ByteArray { array of byte }; Parameters : TElRelativeDistinguishedName; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(Algorithm : integer; Key : TElHMACKeyMaterial; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(const OID : ByteArray { array of byte }; Key : TElHMACKeyMaterial; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);

[C++]
    not available

[PHP]
    not available

Parameters

  • OID - Digest algorithm OID
  • Algorithm - Digest algorithm
  • Parameters - Algorithm parameters
  • Key - HMAC key material to be used for hashing
  • Manager - Cryptographic provider manager to be used
  • CryptoProvider - Cryptographic provider to be used for hashing

Possible hash algorithms:



Possible HMAC algorithms:



Description

    Use this method to create an instance of TElHashFunction class.

Discuss this help topic in SecureBlackbox Forum