OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::Security::SSL::EC_Handle Struct Reference

Public Member Functions

 EC_Handle (EVP_PKEY *key)
 
 operator EC_KEY * ()
 
 ~EC_Handle ()
 

Public Attributes

EC_KEY * ec_
 

Detailed Description

Definition at line 341 of file DiffieHellman.cpp.

Constructor & Destructor Documentation

◆ EC_Handle()

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

Definition at line 343 of file DiffieHellman.cpp.

345  : ec_(EVP_PKEY_get1_EC_KEY(key))
346 #else
347  : ec_(EVP_PKEY_get0_EC_KEY(key))
348 #endif
349  {}
sequence< octet > key

◆ ~EC_Handle()

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

Definition at line 351 of file DiffieHellman.cpp.

352  {
353 #if defined OPENSSL_V_1_0 || defined OPENSSL_V_3_0
354  EC_KEY_free(ec_);
355 #endif
356  }

Member Function Documentation

◆ operator EC_KEY *()

OpenDDS::Security::SSL::EC_Handle::operator EC_KEY * ( )
inline

Definition at line 350 of file DiffieHellman.cpp.

350 { return ec_; }

Member Data Documentation

◆ ec_

EC_KEY* OpenDDS::Security::SSL::EC_Handle::ec_

Definition at line 342 of file DiffieHellman.cpp.


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