Discuss this help topic in SecureBlackbox Forum

TElCustomCryptoProviderManager.GetAlgorithmProperty

TElCustomCryptoProviderManager     See also     


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


Returns algorithm properties.

Declaration

[C#]
    byte[] GetAlgorithmProperty(int Algorithm, int Mode, byte[] PropID);
    byte[] GetAlgorithmProperty(byte[] AlgOID, byte[] AlgParams, int Mode, byte[] PropID);

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

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

[C++]
    void GetAlgorithmProperty(int32_t Algorithm, int32_t Mode, const std::vector<uint8_t> &PropID, std::vector<uint8_t> &OutResult);
    void GetAlgorithmProperty(const std::vector<uint8_t> &AlgOID, const std::vector<uint8_t> &AlgParams, int32_t Mode, const std::vector<uint8_t> &PropID, std::vector<uint8_t> &OutResult);

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

[Java]
    byte[] getAlgorithmProperty(int Algorithm, int Mode, byte[] PropID);
    byte[] getAlgorithmProperty(byte[] AlgOID, byte[] AlgParams, int Mode, byte[] PropID);

Parameters

  • Algorithm - specifies the desired algorithm
  • AlgOID - algorithm OID
  • Mode - specifies symmetric encryption mode
  • PropID - property ID
  • AlgParams - ...

Symmetric algorithms:

Public key algorithms:

Password-based encryption algorithms:

Hash algorithms:

MAC algorithms:

Encryption modes:

Return value

    Returns the desired property value.

Description

    Use this method to get algorithm properties.

See also:     GetAlgorithmClass     IsAlgorithmSupported    

Discuss this help topic in SecureBlackbox Forum