Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.GetDHParams

TElX509Certificate     


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


Returns parameters for Diffie-Helman algorithm

Declaration

[C#/Java]
    bool GetDHParams(ref byte[] DHP, ref int DHPSize, ref byte[] DHG, ref int DHGSize, ref byte[] DHY, ref int DHYSize);

[VB.NET]
    Function GetDHParams(ByRef DHP As Byte(), ByRef DHPSize As Integer, ByRef DHG As Byte(), ByRef DHGSize As Integer, ByRef DHY As Byte(), ByRef DHYSize As Integer) As Boolean

[Pascal]
    function GetDHParams( DHP : pointer; var DHPSize : integer; DHG : pointer; var DHGSize : integer; DHY : pointer; var DHYSize : integer): boolean;

[C++]
    bool GetDHParams(void * DHP, int32_t &DHPSize, void * DHG, int32_t &DHGSize, void * DHY, int32_t &DHYSize);

[PHP]
    bool GetDHParams(TSBPointer|array of byte|string|NULL $DHP, integer &$DHPSize, TSBPointer|array of byte|string|NULL $DHG, integer &$DHGSize, TSBPointer|array of byte|string|NULL $DHY, integer &$DHYSize)

Parameters

  • DHP - P Diffie-Helman parameter.
  • DHPSize - the size of the buffer with P DH buffer.
  • DHG - G Diffie-Helman parameter.
  • DHGSize - the size of the buffer with G DH buffer.
  • DHY - Y Diffie-Helman parameter.
  • DHYSize - the size of the buffer with Y DH buffer.

Description

    Use this function to obtain parameters of diffie-helman portion of the certificate.

Discuss this help topic in SecureBlackbox Forum