EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElX509Certificate.DHParams

TElX509Certificate    


 

Returns parameters for Diffie-Helman algorithm

 
 

Declaration

[C#]
    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;

[VB6]
    Property IElCertificateX.DHParams As IElDHParamsX

[ActiveX]
    HRESULT _stdcall IElCertificateX.DHParams([out, retval] IUnknown ** Value);

[DLL]
    __stdcall BOOL SBX509GetDHParams(HANDLE handle, void* pDHP, int* nDHPSize, void* pDHG, int* nDHGSize, void* pDHY, int* nDHYSize);
 
 

Parameters

  • [DLL]handle - handle to the TElX509Certificate object that was returned by Constructor
  • DHP (pDHP) - P Diffie-Helman parameter. [ActiveX] Buffer should contain a one-dimensional zero-based safe array with elements of type unsigned char (byte).
  • DHPSize (nDHPSize) - the size of the buffer with P DH buffer.
  • DHG (pDHG) - G Diffie-Helman parameter. [ActiveX] Buffer should contain a one-dimensional zero-based safe array with elements of type unsigned char (byte).
  • DHGSize (nDHGSize) - the size of the buffer with G DH buffer.
  • DHY (pDHY) - Y Diffie-Helman parameter. [ActiveX] Buffer should contain a one-dimensional zero-based safe array with elements of type unsigned char (byte).
  • DHYSize (nDHYSize) - the size of the buffer with Y DH buffer.
  • [ActiveX]Value - An instance of the IEnumVARIANT interface used to obtain the parameters. The enumeration contains 3 VARIANT values. Each of this parameter is a one-dimensional zero-based safe array with elements of type unsigned char (byte).
 
 

Description

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

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation