NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::detail::Bio Class Reference

#include <openssl-helper.hpp>

Inheritance diagram for ndn::security::detail::Bio:
Collaboration diagram for ndn::security::detail::Bio:

Public Types

using MethodPtr = BIO_METHOD *
 

Public Member Functions

 Bio (MethodPtr method)
 
 ~Bio ()
 
 operator BIO * () const
 
bool read (uint8_t *buf, size_t buflen) const noexcept
 
bool write (const uint8_t *buf, size_t buflen) noexcept
 

Detailed Description

Definition at line 74 of file openssl-helper.hpp.

Member Typedef Documentation

Definition at line 78 of file openssl-helper.hpp.

Constructor & Destructor Documentation

ndn::security::detail::Bio::Bio ( Bio::MethodPtr  method)
explicit

Definition at line 95 of file openssl-helper.cpp.

ndn::security::detail::Bio::~Bio ( )

Definition at line 102 of file openssl-helper.cpp.

Member Function Documentation

ndn::security::detail::Bio::operator BIO * ( ) const
inline

Definition at line 88 of file openssl-helper.hpp.

bool ndn::security::detail::Bio::read ( uint8_t *  buf,
size_t  buflen 
) const
noexcept

Definition at line 108 of file openssl-helper.cpp.

Referenced by ndn::security::transform::PrivateKey::decrypt().

bool ndn::security::detail::Bio::write ( const uint8_t *  buf,
size_t  buflen 
)
noexcept

Definition at line 116 of file openssl-helper.cpp.

Referenced by ndn::security::transform::PrivateKey::loadPkcs8().


The documentation for this class was generated from the following files: