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 Member Functions

 Bio (const BIO_METHOD *method)
 ~Bio ()
 operator BIO * () const
NDN_CXX_NODISCARD bool read (span< uint8_t > buf) const noexcept
NDN_CXX_NODISCARD bool write (span< const uint8_t > buf) noexcept

Detailed Description

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

Constructor & Destructor Documentation

◆ Bio()

ndn::security::detail::Bio::Bio ( const BIO_METHOD *  method)

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

References NDN_THROW.

◆ ~Bio()

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

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

Member Function Documentation

◆ operator BIO *()

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

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


◆ read()

bool ndn::security::detail::Bio::read ( span< uint8_t >  buf) const

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

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

◆ write()

bool ndn::security::detail::Bio::write ( span< const uint8_t >  buf)

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

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

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