NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ MethodPtr

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

Constructor & Destructor Documentation

◆ Bio()

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

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

◆ ~Bio()

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

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

Member Function Documentation

◆ operator BIO *()

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

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

◆ read()

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

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

◆ write()

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

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

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


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