Discuss this help topic in SecureBlackbox Forum

TElHashFunction.IsAlgorithmSupported

TElHashFunction     See also     


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


Tells whether the algorithm is supported by the given cryptographic provider.

Declaration

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

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

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

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

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

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

Parameters

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

Possible hash algorithms:

Possible HMAC algorithms:

Return value

    …

Description

    Use this method to find out whether the algorithm is supported by the given CryptoProvider.

See also:     CryptoProvider    

Discuss this help topic in SecureBlackbox Forum