Botan: src/cert/x509cert/x509_ext.cpp File Reference

Botan 1.10.16

Namespaces | Macros
x509_ext.cpp File Reference
`#include <botan/x509_ext.h>`
`#include <botan/sha160.h>`
`#include <botan/der_enc.h>`
`#include <botan/ber_dec.h>`
`#include <botan/oids.h>`
`#include <botan/internal/bit_ops.h>`
`#include <algorithm>`
`#include <memory>`

Go to the source code of this file.

## Namespaces
| Botan
| Botan::Cert_Extension

## Macros
#define | X509_EXTENSION(NAME, TYPE)

## Macro Definition Documentation

## ◆ X509_EXTENSION

#define X509_EXTENSION | ( |  | NAME,
|  |  | TYPE
| ) |  |

Value:
if(OIDS::name_of(oid, NAME)) \
return new Cert_Extension::TYPE();
Botan::OIDS::name_of
bool name_of(const OID &oid, const std::string &name)
Definition: oids.cpp:69
oid
OID oid
Definition: x509_ext.cpp:446

## Variable Documentation

## ◆ oid

OID oid

Definition at line 446 of file x509_ext.cpp.

Referenced by Botan::X509_DN::add_attribute(), Botan::X942_PRF::clone(), Botan::X509_DN::decode_from(), Botan::Extensions::decode_from(), Botan::AlternativeName::decode_from(), Botan::EC_Group::EC_Group(), Botan::X509_DN::get_attribute(), Botan::CMS_Encoder::get_contents(), Botan::OID::get_id(), Botan::EC_Group::get_oid(), Botan::operator<(), Botan::EC_Group::operator==(), Botan::X509_Certificate::to_string(), Botan::X509_Store::validate_cert(), and Botan::X942_PRF::X942_PRF().