enum DB_RECORDTYPE [src]
Alias for std.c.darwin.DB_RECORDTYPE
From Common Security Services Manager
Security.framework/Headers/cssm*.h
Fields
SCHEMA_INFO = SCHEMA_START + 0
SCHEMA_INDEXES = SCHEMA_START + 1
SCHEMA_ATTRIBUTES = SCHEMA_START + 2
SCHEMA_PARSING_MODULE = SCHEMA_START + 3
ANY = OPEN_GROUP_START + 0
CERT = OPEN_GROUP_START + 1
CRL = OPEN_GROUP_START + 2
POLICY = OPEN_GROUP_START + 3
GENERIC = OPEN_GROUP_START + 4
PUBLIC_KEY = OPEN_GROUP_START + 5
PRIVATE_KEY = OPEN_GROUP_START + 6
SYMMETRIC_KEY = OPEN_GROUP_START + 7
ALL_KEYS = OPEN_GROUP_START + 8
GENERIC_PASSWORD = APP_DEFINED_START + 0
INTERNET_PASSWORD = APP_DEFINED_START + 1
APPLESHARE_PASSWORD = APP_DEFINED_START + 2
X509_CERTIFICATE = APP_DEFINED_START + 0x1000
USER_TRUST
X509_CRL
UNLOCK_REFERRAL
EXTENDED_ATTRIBUTE
METADATA = APP_DEFINED_START + 0x8000
_
Members
- APP_DEFINED_END (Constant)
- APP_DEFINED_START (Constant)
- OPEN_GROUP_END (Constant)
- OPEN_GROUP_START (Constant)
- SCHEMA_END (Constant)
- SCHEMA_START (Constant)
Source
pub const DB_RECORDTYPE = enum(u32) {
// Record Types defined in the Schema Management Name Space
SCHEMA_INFO = SCHEMA_START + 0,
SCHEMA_INDEXES = SCHEMA_START + 1,
SCHEMA_ATTRIBUTES = SCHEMA_START + 2,
SCHEMA_PARSING_MODULE = SCHEMA_START + 3,
// Record Types defined in the Open Group Application Name Space
ANY = OPEN_GROUP_START + 0,
CERT = OPEN_GROUP_START + 1,
CRL = OPEN_GROUP_START + 2,
POLICY = OPEN_GROUP_START + 3,
GENERIC = OPEN_GROUP_START + 4,
PUBLIC_KEY = OPEN_GROUP_START + 5,
PRIVATE_KEY = OPEN_GROUP_START + 6,
SYMMETRIC_KEY = OPEN_GROUP_START + 7,
ALL_KEYS = OPEN_GROUP_START + 8,
// AppleFileDL record types
GENERIC_PASSWORD = APP_DEFINED_START + 0,
INTERNET_PASSWORD = APP_DEFINED_START + 1,
APPLESHARE_PASSWORD = APP_DEFINED_START + 2,
X509_CERTIFICATE = APP_DEFINED_START + 0x1000,
USER_TRUST,
X509_CRL,
UNLOCK_REFERRAL,
EXTENDED_ATTRIBUTE,
METADATA = APP_DEFINED_START + 0x8000,
_,
// Schema Management Name Space Range Definition
pub const SCHEMA_START = 0x00000000;
pub const SCHEMA_END = SCHEMA_START + 4;
// Open Group Application Name Space Range Definition
pub const OPEN_GROUP_START = 0x0000000A;
pub const OPEN_GROUP_END = OPEN_GROUP_START + 8;
// Industry At Large Application Name Space Range Definition
pub const APP_DEFINED_START = 0x80000000;
pub const APP_DEFINED_END = 0xffffffff;
}