Botan  1.11.15
Namespaces | Enumerations | Functions
src/lib/cert/x509/key_constraint.h File Reference
#include <botan/ber_dec.h>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::BER

Enumerations

enum  Botan::Key_Constraints {
  Botan::NO_CONSTRAINTS = 0, Botan::DIGITAL_SIGNATURE = 32768, Botan::NON_REPUDIATION = 16384, Botan::KEY_ENCIPHERMENT = 8192,
  Botan::DATA_ENCIPHERMENT = 4096, Botan::KEY_AGREEMENT = 2048, Botan::KEY_CERT_SIGN = 1024, Botan::CRL_SIGN = 512,
  Botan::ENCIPHER_ONLY = 256, Botan::DECIPHER_ONLY = 128
}

Functions

void Botan::BER::decode (BER_Decoder &source, Key_Constraints &key_usage)
Key_Constraints Botan::find_constraints (const Public_Key &pub_key, Key_Constraints limits)