Discuss this help topic in SecureBlackbox Forum

TElPublicKeyCryptoFactory.IsAlgorithmSupported

TElPublicKeyCryptoFactory     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(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)

[Java]
    boolean isAlgorithmSupported(byte[] OID);
    boolean isAlgorithmSupported(int 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