Discuss this help topic in SecureBlackbox Forum

TElPublicKeyCryptoFactory.IsAlgorithmSupported

TElPublicKeyCryptoFactory     See also     


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


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

Declaration

[C#/Java]
    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(OID: AnsiString) : boolean;
    function IsAlgorithmSupported(OID: Integer) : boolean;

[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)

Parameters

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

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     RegisteredClasses     RegisterClass    

Discuss this help topic in SecureBlackbox Forum