diff options
author | lloyd <[email protected]> | 2006-06-13 01:08:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-13 01:08:42 +0000 |
commit | 5b4ec650b1199578fcf1bd7fdc93ed0f48e7c5a3 (patch) | |
tree | cf5c1ff1aa6da8c3569b63eda5da6ed2aea4bd29 /include/x509stor.h | |
parent | 5dad98b85c88dfa72915f9038505af1e873757bf (diff) |
Move the X509_Code enum from enums.h to x509stor.h, since that's
the only place it is used.
Diffstat (limited to 'include/x509stor.h')
-rw-r--r-- | include/x509stor.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/x509stor.h b/include/x509stor.h index 74f3ca1c4..e3dd763d2 100644 --- a/include/x509stor.h +++ b/include/x509stor.h @@ -13,6 +13,34 @@ namespace Botan { /************************************************* +* X.509 Certificate Validation Result * +*************************************************/ +enum X509_Code { + VERIFIED, + UNKNOWN_X509_ERROR, + CANNOT_ESTABLISH_TRUST, + CERT_CHAIN_TOO_LONG, + SIGNATURE_ERROR, + POLICY_ERROR, + INVALID_USAGE, + + CERT_FORMAT_ERROR, + CERT_ISSUER_NOT_FOUND, + CERT_NOT_YET_VALID, + CERT_HAS_EXPIRED, + CERT_IS_REVOKED, + + CRL_FORMAT_ERROR, + CRL_ISSUER_NOT_FOUND, + CRL_NOT_YET_VALID, + CRL_HAS_EXPIRED, + + CA_CERT_CANNOT_SIGN, + CA_CERT_NOT_FOR_CERT_ISSUER, + CA_CERT_NOT_FOR_CRL_ISSUER +}; + +/************************************************* * X.509 Certificate Store * *************************************************/ class X509_Store |