C++ Utilities: CppUtilities::Detail Namespace Reference

C++ Utilities 5.33.0 Useful C++ classes and routines such as argument parser, IO and conversion utilities

Loading...
Searching...
No Matches
Functions
CppUtilities::Detail Namespace Reference

## Functions
std::string | getOpenSslError ()
| Returns the current OpenSSL error.
std::string | extractPemBody (std::string_view pem, std::string_view header)
| Extracts the base64-encoded body from a PEM block.
std::string | parsePemSignature (std::string_view pemSignature, std::pair< std::unique_ptr< std::uint8_t[]>, std::uint32_t > &decodedSignature)
| Converts a PEM-encoded signature into a DER-encoded signature.

## Function Documentation

## ◆ extractPemBody()

std::string CppUtilities::Detail::extractPemBody | ( | std::string_view | pem,
|  | std::string_view | header )
| inline

Extracts the base64-encoded body from a PEM block.

Remarks
  This function is an implementation detail and must not be called by users of this library.

Definition at line 35 of file verification.h.

## ◆ getOpenSslError()

std::string CppUtilities::Detail::getOpenSslError | ( |  | ) |
| inline

Returns the current OpenSSL error.

Remarks
  This function is an implementation detail and must not be called by users this library.

Definition at line 22 of file verification.h.

## ◆ parsePemSignature()

std::string CppUtilities::Detail::parsePemSignature | ( | std::string_view | pemSignature,
|  | std::pair< std::unique_ptr< std::uint8_t[]>, std::uint32_t > & | decodedSignature )
| inline

Converts a PEM-encoded signature into a DER-encoded signature.

Remarks
  This function is an implementation detail and must not be called by users of this library.

Definition at line 56 of file verification.h.