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
NDN_CXX_NODISCARD bool read (uint8_t *buf, size_t buflen) const noexcept
NDN_CXX_NODISCARD 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)

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

References NDN_THROW.

◆ ~Bio()

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

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

Member Function Documentation

◆ operator BIO *()

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

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

◆ read()

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

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

References buf.

◆ write()

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

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

References buf.

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

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