11#include <botan/secmem.h>
17class RandomNumberGenerator;
28 size_t length()
const {
return m_data.size(); }
29 size_t size()
const {
return m_data.size(); }
30 bool empty()
const {
return m_data.empty(); }
40 const uint8_t*
begin()
const {
return m_data.data(); }
45 const uint8_t*
end()
const {
return begin() + m_data.size(); }
50 std::string to_string()
const;
66 BOTAN_DEPRECATED(
"Why would you need to do this")
67 void set_odd_parity();
93 explicit
OctetString(
std::span<const uint8_t> in) : m_data(in.begin(), in.end()) {}
112 const OctetString&
y);
121 const OctetString&
y);
130 const OctetString&
y);
139 const OctetString&
y);
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)
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