mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
CRL support
This commit is contained in:
parent
75ecfffd52
commit
dfe230be8b
1 changed files with 12 additions and 2 deletions
|
@ -299,15 +299,25 @@ typedef struct
|
|||
#define ZT_CERTIFICATE_MAX_STRING_LENGTH 127
|
||||
|
||||
/**
|
||||
* Certificate is a root CA
|
||||
* Certificate is a root CA (local trust flag)
|
||||
*/
|
||||
#define ZT_CERTIFICATE_LOCAL_TRUST_FLAG_ROOT_CA 0x0001U
|
||||
|
||||
/**
|
||||
* Certificate's subject describes a set of roots
|
||||
* Certificate's subject describes a set of roots (local trust flag)
|
||||
*/
|
||||
#define ZT_CERTIFICATE_LOCAL_TRUST_FLAG_ZEROTIER_ROOT_SET 0x0002U
|
||||
|
||||
/**
|
||||
* Certificate flag indicating that this certificate is a revocation.
|
||||
*
|
||||
* For certificate revocations only the certificates field of the subject
|
||||
* is significant, and must enumerate the serial numbers (hashes) of
|
||||
* certificates being revoked. Revoked certificates must be certificates
|
||||
* signed by the issuer doing the revocation.
|
||||
*/
|
||||
#define ZT_CERTIFICATE_FLAG_REVOCATION 0x0001U
|
||||
|
||||
/**
|
||||
* Size of a unique ID of the given key type (with type prefix byte)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue