CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::crypto::Pem Class Reference

#include <pem.h>

Public Member Functions

 Pem ()=default
 
 Pem (std::string pem_string)
 
 Pem (const uint8_t *data, size_t size)
 
 Pem (std::span< const uint8_t > s)
 
 Pem (const std::vector< uint8_t > &v)
 
bool operator== (const Pem &rhs) const
 
bool operator!= (const Pem &rhs) const
 
bool operator< (const Pem &rhs) const
 
const std::string & str () const
 
uint8_t * data ()
 
const uint8_t * data () const
 
size_t size () const
 
bool empty () const
 
std::vector< uint8_t > raw () const
 

Constructor & Destructor Documentation

◆ Pem() [1/5]

ccf::crypto::Pem::Pem ( )
default

◆ Pem() [2/5]

ccf::crypto::Pem::Pem ( std::string  pem_string)

◆ Pem() [3/5]

ccf::crypto::Pem::Pem ( const uint8_t *  data,
size_t  size 
)

◆ Pem() [4/5]

ccf::crypto::Pem::Pem ( std::span< const uint8_t >  s)
inlineexplicit

◆ Pem() [5/5]

ccf::crypto::Pem::Pem ( const std::vector< uint8_t > &  v)
inlineexplicit

Member Function Documentation

◆ data() [1/2]

uint8_t * ccf::crypto::Pem::data ( )
inline

◆ data() [2/2]

const uint8_t * ccf::crypto::Pem::data ( ) const
inline

◆ empty()

bool ccf::crypto::Pem::empty ( ) const
inline

◆ operator!=()

bool ccf::crypto::Pem::operator!= ( const Pem rhs) const
inline

◆ operator<()

bool ccf::crypto::Pem::operator< ( const Pem rhs) const
inline

◆ operator==()

bool ccf::crypto::Pem::operator== ( const Pem rhs) const
inline

◆ raw()

std::vector< uint8_t > ccf::crypto::Pem::raw ( ) const
inline

◆ size()

size_t ccf::crypto::Pem::size ( ) const
inline

◆ str()

const std::string & ccf::crypto::Pem::str ( ) const
inline

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