Botan 3.13.0
Crypto and TLS for C&
Botan::AlternativeName::OtherNameValue Class Referencefinal

An "OtherName" GeneralName entry: type-id OID and the inner ANY value as raw BER. More...

#include <pkix_types.h>

Public Member Functions

const OIDoid () const
bool operator< (const OtherNameValue &other) const
std::span< const uint8_t > value () const

Friends

class AlternativeName

Detailed Description

An "OtherName" GeneralName entry: type-id OID and the inner ANY value as raw BER.

Definition at line 309 of file pkix_types.h.

Member Function Documentation

◆ oid()

const OID & Botan::AlternativeName::OtherNameValue::oid ( ) const
inline

Definition at line 311 of file pkix_types.h.

311{ return m_oid; }

Referenced by AlternativeName, and operator<().

◆ operator<()

bool Botan::AlternativeName::OtherNameValue::operator< ( const OtherNameValue & other) const
inline

Definition at line 315 of file pkix_types.h.

315 {
316 if(oid() != other.oid()) {
317 return oid() < other.oid();
318 }
319 return m_value < other.m_value;
320 }

References oid().

◆ value()

std::span< const uint8_t > Botan::AlternativeName::OtherNameValue::value ( ) const
inline

Definition at line 313 of file pkix_types.h.

313{ return m_value; }

Referenced by AlternativeName.

◆ AlternativeName

friend class AlternativeName
friend

Definition at line 323 of file pkix_types.h.

References AlternativeName, oid(), and value().

Referenced by AlternativeName.


The documentation for this class was generated from the following file: