Discuss this help topic in SecureBlackbox Forum

TElCustomCryptoProviderManager.IsAlgorithmSupported

TElCustomCryptoProviderManager     See also     


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


Checks whether the desired algorithm is supported by the providers from list.

Declaration

[C#]
    bool IsAlgorithmSupported(int Algorithm, int Mode);
    bool IsAlgorithmSupported(byte[] AlgOID, byte[] AlgParams, int Mode);

[VB.NET]
    Function IsAlgorithmSupported(ByVal Algorithm As Integer, ByVal Mode As Integer) As Boolean
    Function IsAlgorithmSupported(ByVal AlgOID As Byte(), ByVal AlgParams As Byte(), ByVal Mode As Integer) As Boolean

[Pascal]
    function IsAlgorithmSupported(Algorithm: integer; Mode: integer): boolean;
    function IsAlgorithmSupported(AlgOID, AlgParams: ByteArray; Mode: integer): boolean;

[C++]
    bool IsAlgorithmSupported(int32_t Algorithm, int32_t Mode);
    bool IsAlgorithmSupported(const std::vector<uint8_t> &AlgOID, const std::vector<uint8_t> &AlgParams, int32_t Mode);

[PHP]
    bool IsAlgorithmSupported(integer $Algorithm, integer $Mode)
    bool IsAlgorithmSupported(array of byte|string|NULL $AlgOID, array of byte|string|NULL $AlgParams, integer $Mode)

[Java]
    boolean isAlgorithmSupported(int Algorithm, int Mode);
    boolean isAlgorithmSupported(byte[] AlgOID, byte[] AlgParams, int Mode);

Parameters

  • Algorithm - specifies the algorithm which must be used
  • AlgOID - algorithm OID
  • AlgParams - algorithm parameters
  • Mode - specifies symmetric encryption mode

Symmetric algorithms:

Public key algorithms:

Password-based encryption algorithms:

Hash algorithms:

MAC algorithms:

Encryption modes:

Return value

    Returns True if the specified algorithm is supported by at least one crypto provider from the list.

Description

    Use this method to check if at least one of the crypto providers from the list supports the desired algorithm.

See also:     CryptoProviders     GetSuitableProvider     IsOperationSupported    

Discuss this help topic in SecureBlackbox Forum