One supported subjectAltName entry (a DNS name or an IP address).
More...
#include <StormByte/crypto/x509/certificate.hxx>
One supported subjectAltName entry (a DNS name or an IP address).
- Note
- Conditionally DLL-safe: the value is a Safe type and all operations are defined out of line in Crypto.
◆ SubjectAltName() [1/4]
| StormByte::Crypto::X509::SubjectAltName::SubjectAltName |
( |
| ) |
|
|
noexcept |
Empty DNS entry with no value.
◆ SubjectAltName() [2/4]
Builds an entry.
- Parameters
-
| type | Kind of the entry. |
| value | Raw bytes: ASCII text for DNS, network-order address bytes for IP. |
◆ SubjectAltName() [3/4]
| StormByte::Crypto::X509::SubjectAltName::SubjectAltName |
( |
const SubjectAltName & | other | ) |
|
Copy constructor.
- Parameters
-
◆ SubjectAltName() [4/4]
| StormByte::Crypto::X509::SubjectAltName::SubjectAltName |
( |
SubjectAltName && | other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~SubjectAltName()
| StormByte::Crypto::X509::SubjectAltName::~SubjectAltName |
( |
| ) |
|
|
noexcept |
◆ operator=() [1/2]
Copy assignment.
- Parameters
-
- Returns
- Reference to this entry.
◆ operator=() [2/2]
Move assignment.
- Parameters
-
- Returns
- Reference to this entry.
◆ Type()
Returns the kind of the entry.
- Returns
- DNS or IP.
◆ Value()
| const Safe::Binary & StormByte::Crypto::X509::SubjectAltName::Value |
( |
| ) |
const |
|
noexcept |
Returns the raw value.
- Returns
- Certificate bytes: DNS names keep their original case and wildcard, IP addresses are 4 or 16 bytes.
The documentation for this class was generated from the following file: