Discuss this help topic in SecureBlackbox Forum

TElCustomCryptoProviderManager.GetAlgorithmClass

TElCustomCryptoProviderManager     See also     


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


Returns algorithm class.

Declaration

[C#]
    int GetAlgorithmClass(int Algorithm);
    int GetAlgorithmClass(byte[] AlgOID, byte[] AlgParams);

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

[Pascal]
    function GetAlgorithmClass(Algorithm: integer; PropID: ByteArray): ByteArray;
    function GetAlgorithmClass(AlgOID, AlgParams: ByteArray; PropID: ByteArray): ByteArray;

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

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

[Java]
    int getAlgorithmClass(int Algorithm);
    int getAlgorithmClass(byte[] AlgOID, byte[] AlgParams);

Parameters

  • Algorithm - specifies the desired algorithm
  • AlgOID - algorithm OID
  • PropID - property ID
  • AlgParams - ...

Symmetric algorithms:

Public key algorithms:

Password-based encryption algorithms:

Hash algorithms:

MAC algorithms:

Return value

    Returns one of the following algorithm classes:

Possible values:

Description

    Use this method to get algorithm class.

See also:     GetAlgorithmProperty     IsAlgorithmSupported    

Discuss this help topic in SecureBlackbox Forum