Discuss this help topic in SecureBlackbox Forum

TElSymmetricCryptoFactory.IsAlgorithmSupported

TElSymmetricCryptoFactory     See also     


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


Tells whether the algorithm is supported by one of registered classes.

Declaration

[C#]
    bool IsAlgorithmSupported(byte[] OID);
    bool IsAlgorithmSupported(int Alg);

[VB.NET]
    Function IsAlgorithmSupported(ByVal OID As Byte()) As Boolean
    Function IsAlgorithmSupported(ByVal Alg As Integer) As Boolean

[Pascal]
    function IsAlgorithmSupported(const OID : ByteArray) : boolean; overload;
    function IsAlgorithmSupported(Alg : integer) : boolean; overload;

[C++]
    bool IsAlgorithmSupported(const std::vector<uint8_t> &OID);
    bool IsAlgorithmSupported(int32_t Alg);

[PHP]
    bool IsAlgorithmSupported(array of byte|string|NULL $OID)
    bool IsAlgorithmSupported(integer $Alg)

[Java]
    boolean isAlgorithmSupported(int Alg);
    boolean isAlgorithmSupported(byte[] OID);

Parameters

  • OID - Well-known OID (Object ID) of the algorithm
  • Alg - SecureBlackbox-defined identifier of the algorithm

Identifiers of the algorithms

Return value

    …

Description

     Use this method to find out, if at least one of registered cryptography classes supports specified algorithm. You can use CreateInstance method to create an instance of the cryptography class which supports specified algorithm.

See also:     CreateInstance     RegisterClass    

Discuss this help topic in SecureBlackbox Forum