11#include <botan/secmem.h>
17class RandomNumberGenerator;
27 size_t length()
const {
return m_data.size(); }
29 size_t size()
const {
return m_data.size(); }
31 bool empty()
const {
return m_data.empty(); }
41 const uint8_t*
begin()
const {
return m_data.data(); }
46 const uint8_t*
end()
const {
return begin() + m_data.size(); }
51 std::string to_string()
const;
93 explicit
OctetString(std::span<const uint8_t> in) : m_data(in.begin(), in.end()) {}
secure_vector< uint8_t > bits_of() const
const uint8_t * end() const
const uint8_t * begin() const
OctetString(secure_vector< uint8_t > in)
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
std::vector< uint8_t, Alloc > & operator^=(std::vector< uint8_t, Alloc > &out, const std::vector< uint8_t, Alloc2 > &in)
std::vector< T, secure_allocator< T > > secure_vector