Discuss this help topic in SecureBlackbox Forum

TElHashFunction.GetDigestSizeBits

TElHashFunction     See also     


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


Returns a number of bits in the digest value.

Declaration

[C#]
    static int GetDigestSizeBits(int Algorithm, TElCustomCryptoProvider CryptoProvider);
    static int GetDigestSizeBits(byte[] OID, TElCustomCryptoProvider CryptoProvider);
    static int GetDigestSizeBits(int Algorithm, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    static int GetDigestSizeBits(byte[] OID, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);

[VB.NET]
    Shared Function GetDigestSizeBits(ByVal Algorithm As Integer, ByVal CryptoProvider As TElCustomCryptoProvider) As Integer
    Shared Function GetDigestSizeBits(ByVal OID As Byte(), ByVal CryptoProvider As TElCustomCryptoProvider) As Integer
    Shared Function GetDigestSizeBits(ByVal Algorithm As Integer, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider) As Integer
    Shared Function GetDigestSizeBits(ByVal OID As Byte(), ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider) As Integer

[Pascal]
    class function GetDigestSizeBits(const OID : BufferTupe; CryptoProvider : TElCustomCryptoProvider = nil) : integer;
    class function GetDigestSizeBits(Algorithm : integer; CryptoProvider : TElCustomCryptoProvider = nil) : integer;
    class function GetDigestSizeBits(const OID : BufferTupe; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider) : integer;
    class function GetDigestSizeBits(Algorithm : integer; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider) : integer;

[C++]
    static int32_t GetDigestSizeBits(int32_t Algorithm, TElCustomCryptoProvider &CryptoProvider);
    static int32_t GetDigestSizeBits(int32_t Algorithm, TElCustomCryptoProvider *CryptoProvider);
    static int32_t GetDigestSizeBits(const std::vector<uint8_t> &OID, TElCustomCryptoProvider &CryptoProvider);
    static int32_t GetDigestSizeBits(const std::vector<uint8_t> &OID, TElCustomCryptoProvider *CryptoProvider);
    static int32_t GetDigestSizeBits(int32_t Algorithm, TElCustomCryptoProviderManager &Manager, TElCustomCryptoProvider &CryptoProvider);
    static int32_t GetDigestSizeBits(int32_t Algorithm, TElCustomCryptoProviderManager *Manager, TElCustomCryptoProvider *CryptoProvider);
    static int32_t GetDigestSizeBits(const std::vector<uint8_t> &OID, TElCustomCryptoProviderManager &Manager, TElCustomCryptoProvider &CryptoProvider);
    static int32_t GetDigestSizeBits(const std::vector<uint8_t> &OID, TElCustomCryptoProviderManager *Manager, TElCustomCryptoProvider *CryptoProvider);

[PHP]
    integer GetDigestSizeBits(integer $Algorithm, TElCustomCryptoProvider $CryptoProvider)
    integer GetDigestSizeBits(array of byte|string|NULL $OID, TElCustomCryptoProvider $CryptoProvider)
    integer GetDigestSizeBits(integer $Algorithm, TElCustomCryptoProviderManager $Manager, TElCustomCryptoProvider $CryptoProvider)
    integer GetDigestSizeBits(array of byte|string|NULL $OID, TElCustomCryptoProviderManager $Manager, TElCustomCryptoProvider $CryptoProvider)

[Java]
    static int getDigestSizeBits(TElHashFunction> this, byte[] OID, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    static int getDigestSizeBits(TElHashFunction> this, int Algorithm, TElCustomCryptoProvider CryptoProvider);
    static int getDigestSizeBits(TElHashFunction> this, byte[] OID, TElCustomCryptoProvider CryptoProvider);
    static int getDigestSizeBits(TElHashFunction> this, int Algorithm, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);

Parameters

  • OID - Well-known OID (Object ID) of the hash algorithm
  • Algorithm - SecureBlackbox-defined identifier of the algorithm
  • CryptoProvider - Cryptographic rpovider used for hashing
  • Manager - Cryptographic provider manager to be used
  • FIPSMode -

Possible hash algorithms:

Possible HMAC algorithms:

Description

    Use this method to retrieve a number of bits in the digest value of the certain algorithm.

See also:     CryptoProvider    

Discuss this help topic in SecureBlackbox Forum