1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use super::*;
/// A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
pub const E_EXPIRED : HResultError = HResultError::from_constant(0x800B0101); // CERT_E_EXPIRED
/// The validity periods of the certification chain do not nest correctly.
pub const E_VALIDITYPERIODNESTING : HResultError = HResultError::from_constant(0x800B0102); // CERT_E_VALIDITYPERIODNESTING
/// A certificate that can only be used as an end-entity is being used as a CA or vice versa.
pub const E_ROLE : HResultError = HResultError::from_constant(0x800B0103); // CERT_E_ROLE
/// A path length constraint in the certification chain has been violated.
pub const E_PATHLENCONST : HResultError = HResultError::from_constant(0x800B0104); // CERT_E_PATHLENCONST
/// A certificate contains an unknown extension that is marked 'critical'.
pub const E_CRITICAL : HResultError = HResultError::from_constant(0x800B0105); // CERT_E_CRITICAL
/// A certificate being used for a purpose other than the ones specified by its CA.
pub const E_PURPOSE : HResultError = HResultError::from_constant(0x800B0106); // CERT_E_PURPOSE
/// A parent of a given certificate in fact did not issue that child certificate.
pub const E_ISSUERCHAINING : HResultError = HResultError::from_constant(0x800B0107); // CERT_E_ISSUERCHAINING
/// A certificate is missing or has an empty value for an important field, such as a subject or issuer name.
pub const E_MALFORMED : HResultError = HResultError::from_constant(0x800B0108); // CERT_E_MALFORMED
/// A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
pub const E_UNTRUSTEDROOT : HResultError = HResultError::from_constant(0x800B0109); // CERT_E_UNTRUSTEDROOT
/// A certificate chain could not be built to a trusted root authority.
pub const E_CHAINING : HResultError = HResultError::from_constant(0x800B010A); // CERT_E_CHAINING
/// A certificate was explicitly revoked by its issuer.
pub const E_REVOKED : HResultError = HResultError::from_constant(0x800B010C); // CERT_E_REVOKED
/// The certification path terminates with the test root which is not trusted with the current policy settings.
pub const E_UNTRUSTEDTESTROOT : HResultError = HResultError::from_constant(0x800B010D); // CERT_E_UNTRUSTEDTESTROOT
/// The revocation process could not continue - the certificate(s) could not be checked.
pub const E_REVOCATION_FAILURE : HResultError = HResultError::from_constant(0x800B010E); // CERT_E_REVOCATION_FAILURE
/// The certificate's CN name does not match the passed value.
pub const E_CN_NO_MATCH : HResultError = HResultError::from_constant(0x800B010F); // CERT_E_CN_NO_MATCH
/// The certificate is not valid for the requested usage.
pub const E_WRONG_USAGE : HResultError = HResultError::from_constant(0x800B0110); // CERT_E_WRONG_USAGE
/// A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
pub const E_UNTRUSTEDCA : HResultError = HResultError::from_constant(0x800B0112); // CERT_E_UNTRUSTEDCA
/// The certificate has invalid policy.
pub const E_INVALID_POLICY : HResultError = HResultError::from_constant(0x800B0113); // CERT_E_INVALID_POLICY
/// The certificate has an invalid name. The name is not included in the permitted list or is explicitly excluded.
pub const E_INVALID_NAME : HResultError = HResultError::from_constant(0x800B0114); // CERT_E_INVALID_NAME