OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Public Attributes | List of all members
OpenDDS::Security::SSL::DH_Handle Struct Reference

Public Member Functions

 DH_Handle (EVP_PKEY *key)
 
 operator DH * ()
 
 ~DH_Handle ()
 

Public Attributes

DH * dh_
 

Detailed Description

Definition at line 36 of file DiffieHellman.cpp.

Constructor & Destructor Documentation

◆ DH_Handle()

OpenDDS::Security::SSL::DH_Handle::DH_Handle ( EVP_PKEY key)
inlineexplicit

Definition at line 38 of file DiffieHellman.cpp.

40  : dh_(EVP_PKEY_get1_DH(key))
41 #else
42  : dh_(EVP_PKEY_get0_DH(key))
43 #endif
44  {}
sequence< octet > key

◆ ~DH_Handle()

OpenDDS::Security::SSL::DH_Handle::~DH_Handle ( )
inline

Definition at line 46 of file DiffieHellman.cpp.

47  {
48 #if defined OPENSSL_V_1_0 || defined OPENSSL_V_3_0
49  DH_free(dh_);
50 #endif
51  }

Member Function Documentation

◆ operator DH *()

OpenDDS::Security::SSL::DH_Handle::operator DH * ( )
inline

Definition at line 45 of file DiffieHellman.cpp.

References dh_.

Member Data Documentation

◆ dh_

DH* OpenDDS::Security::SSL::DH_Handle::dh_

Definition at line 37 of file DiffieHellman.cpp.

Referenced by operator DH *().


The documentation for this struct was generated from the following file: