2N/A * Copyright (c) 1995-2000 Intel Corporation. All rights reserved. 2N/A * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 2N/A/* KMF_HANDLE_T is a pointer to an incomplete C struct for type safety. */ 2N/A * The KMF_DATA structure is used to associate a length, in bytes, with 2N/A * an arbitrary block of contiguous memory. 2N/A * The object identifier (OID) structure is used to hold a unique identifier for 2N/A * the atomic data fields and the compound substructure that comprise the fields 2N/A * of a certificate or CRL. 2N/A * This structure associates packed DER certificate data. 2N/A * Also, it contains the private information internal used 2N/A * This type defines a set of constants used to identify cryptographic 2N/A * When adding new ALGID, be careful not to rearrange existing 2N/A * values, doing so can cause problem in the STC test suite. 2N/A * Generic credential structure used by other structures below 2N/A * to convey authentication information to the underlying 2N/A * Typenames to use with subjectAltName 2N/A * This structure contains the OID/value pair for any item that can be 2N/A * identified by an OID. 2N/A/* Data structures for OCSP support */ 2N/A * KMF_X509_ALGORITHM_IDENTIFIER 2N/A * This structure holds an object identifier naming a 2N/A * cryptographic algorithm and an optional set of 2N/A * parameters to be used as input to that algorithm. 2N/A * KMF_X509_TYPE_VALUE_PAIR 2N/A * This structure contain an type-value pair. 2N/A * This structure contains a Relative Distinguished Name 2N/A * composed of an ordered set of type-value pairs. 2N/A * This structure contains a set of Relative Distinguished Names. 2N/A * This structure contains the public key and the 2N/A * description of the verification algorithm 2N/A * appropriate for use with this key. 2N/A * Time is represented as a string according to the 2N/A * definitions of GeneralizedTime and UTCTime 2N/A * defined in RFC 2459. 2N/A * KMF_X509EXT_BASICCONSTRAINTS 2N/A * KMF_X509EXT_DATA_FORMAT 2N/A * This list defines the valid formats for a certificate extension. 2N/A * KMF_X509EXT_TAGandVALUE 2N/A * extension value and the type of that value. 2N/A * This structure aggregates two extension representations: 2N/A * a tag and value, and a parsed X509 extension representation. 2N/A * KMF_X509_EXTENSION 2N/A * This structure contains a complete certificate extension. 2N/A * KMF_X509_EXTENSIONS 2N/A * This structure contains the set of all certificate 2N/A * extensions contained in a certificate. 2N/A * This structure contains a complete X.509 certificate. 2N/A * KMF_X509_SIGNATURE 2N/A * This structure contains a cryptographic digital signature. 2N/A * KMF_X509_CERTIFICATE 2N/A * This structure associates a set of decoded certificate 2N/A * values with the signature covering those values. 2N/A * This structure contains a complete PKCS#10 certificate request 2N/A * This structure contains a complete PKCS#10 certificate signed request 2N/A * KMF_X509EXT_POLICYQUALIFIERINFO 2N/A * KMF_X509EXT_POLICYQUALIFIERS 2N/A * KMF_X509EXT_POLICYINFO 2N/A * X509 AuthorityInfoAccess extension 2N/A * X509 Crl Distribution Point extension 2N/A * Definitions for common X.509v3 certificate attribute OIDs 2N/A/* From the PKCS Standards */ 2N/A * {itu-t(0) data(9) pss(2342) ucl(19200300) pilot(100) pilotAttributeType(1) } 2N/A#
define OID_PILOT 0x09,
0x92,
0x26,
0x89,
0x93,
0xf2,
0x2c,
0x64,
0x1 2N/A * { iso(1) identified-organization(3) dod(6) internet(1) 2N/A * security(5) mechanisms(5) pkix(7) } 2N/A/* private certificate extensions, { id-pkix 1 } */ 2N/A/* policy qualifier types {id-pkix 2 } */ 2N/A/* CPS qualifier, { id-qt 1 } */ 2N/A/* user notice qualifier, { id-qt 2 } */ 2N/A/* extended key purpose OIDs {id-pkix 3 } */ 2N/A/* access descriptors {id-pkix 4 } */ 2N/A/* access descriptors */ 2N/A * From RFC4556 (PKINIT) 2N/A * pkinit = { iso(1) identified-organization(3) dod(6) internet(1) 2N/A * security(5) kerberosv5(2) pkinit(3) } 2N/A * id-ms-san-sc-logon-upn = 2N/A * {iso(1) identified-organization(3) dod(6) internet(1) private(4) 2N/A * enterprise(1) microsoft(311) 20 2 3} 2N/A * id-ms-kp-sc-logon = 2N/A * {iso(1) identified-organization(3) dod(6) internet(1) private(4) 2N/A * enterprise(1) microsoft(311) 20 2 2} 2N/A#
define INTEL 96,
134,
72,
1,
134,
248,
77 2N/A/* For PKINIT support */ 2N/A/* For ECC support */ 2N/A * ANSI X9-62 prime192v1 is same as secp192r1 and 2N/A * ANSI X9-62 prime256v1 is same as secp256r1 2N/A * KMF Certificate validation codes. These may be masked together. 2N/A * KMF Key Usage bitmasks 2N/A * KMF Extended KeyUsage OID definitions 2N/A#
endif /* _KMFTYPES_H */