|
Botan 3.14.1
Crypto and TLS for C&
|
#include <x509_ext.h>
Public Member Functions | |
| IPAddress (const Address &addr) | |
| IPAddress (std::span< const uint8_t > v) | |
| operator Address () const | |
| std::array< uint8_t, Length > | to_bytes () const |
| std::array< uint8_t, Length > | value () const |
Friends | |
| class | IPAddressBlocks |
| IPAddress< V > | operator+ (IPAddress< V > lhs, size_t rhs) |
| std::strong_ordering | operator<=> (const IPAddress< V > lhs, const IPAddress< V > &rhs) |
| bool | operator== (const IPAddress< V > &lhs, const IPAddress< V > &rhs) |
An IP address of the given version
In a future major release this will become an alias of IPv4Address or IPv6Address. Use to_bytes and the conversions to/from IPv4Address and IPv6Address to write code that works with both.
TODO(Botan4) remove this type
Definition at line 1038 of file x509_ext.h.
|
explicit |
Definition at line 2563 of file x509_ext.cpp.
Referenced by IPAddressBlocks, operator+, operator<=>, and operator==.
|
inlineexplicit |
Create from an IPv4Address (for IPv4) or IPv6Address (for IPv6)
Definition at line 1050 of file x509_ext.h.
References to_bytes().
|
inline |
Convert to IPv4Address or IPv6Address
Definition at line 1066 of file x509_ext.h.
|
inline |
Return the address as bytes, network-byte-order
Definition at line 1060 of file x509_ext.h.
Referenced by IPAddress().
|
inline |
Return the address as bytes, network-byte-order
Definition at line 1055 of file x509_ext.h.
References value().
Referenced by value().
|
friend |
Definition at line 1069 of file x509_ext.h.
References IPAddress(), and IPAddressBlocks.
Referenced by IPAddressBlocks.
Definition at line 1078 of file x509_ext.h.
References IPAddress().
|
friend |
Definition at line 1086 of file x509_ext.h.
References IPAddress().
|
friend |
Definition at line 1097 of file x509_ext.h.
References IPAddress().