Botan 1.10.17
pubkey_enums.h
Go to the documentation of this file.
1/*
2* Enumerations
3* (C) 1999-2007 Jack Lloyd
4*
5* Distributed under the terms of the Botan license
6*/
7
8#ifndef BOTAN_ENUMS_H__
9#define BOTAN_ENUMS_H__
10
11#include <botan/ber_dec.h>
12
13namespace Botan {
14
15/**
16* X.509v3 Key Constraints.
17*/
30
31/**
32* BER Decoding Function for key constraints
33*/
34namespace BER {
35
36void BOTAN_DLL decode(BER_Decoder&, Key_Constraints&);
37
38}
39
40/**
41* X.509v2 CRL Reason Code.
42*/
59
60/*
61* Various Other Enumerations
62*/
63
64/**
65* The two types of X509 encoding supported by Botan.
66*/
68
69}
70
71#endif
void decode(BER_Decoder &source, Key_Constraints &key_usage)
@ OCSP_GOOD
@ PRIVLEDGE_WITHDRAWN
@ OCSP_UNKNOWN
@ AFFILIATION_CHANGED
@ KEY_COMPROMISE
@ UNSPECIFIED
@ SUPERSEDED
@ AA_COMPROMISE
@ CA_COMPROMISE
@ CESSATION_OF_OPERATION
@ REMOVE_FROM_CRL
@ CERTIFICATE_HOLD
@ DELETE_CRL_ENTRY
Key_Constraints
@ DATA_ENCIPHERMENT
@ KEY_CERT_SIGN
@ NO_CONSTRAINTS
@ ENCIPHER_ONLY
@ DIGITAL_SIGNATURE
@ KEY_AGREEMENT
@ DECIPHER_ONLY
@ KEY_ENCIPHERMENT
@ NON_REPUDIATION