13 #ifndef P6CRYPTOKEY_H__
14 #define P6CRYPTOKEY_H__ 1
90 #define INTERFACE p6ICryptoKeyInit
360 #define IF_p6ICryptoKeyInit {0x7AAB1F32,0x075B,0x4B8D,{0xB0,0xE6,0xE4,0xCE,0x82,0x28,0x82,0xB7}}
369 #define INTERFACE p6ICryptoKeyInit2
673 #define IF_p6ICryptoKeyInit2 {0xd10aab8d,0x5315,0x4e13,{0x86,0x44,0x9,0xe2,0x7a,0x19,0x85,0xb8}}
682 #define INTERFACE p6ICryptoKeyInitPEM
732 #define IF_p6ICryptoKeyInitPEM {0x2E46F137,0x4D90,0x0076,{0xF0,0x81,0xC6,0xAA,0x0C,0xA1,0x6A,0x6F}}
775 #define INTERFACE p6ICryptoKeyGetMeta
980 #define IF_p6ICryptoKeyGetMeta {0x8f3c646f,0x98b2,0x493d,{0x8c,0x10,0xe,0x71,0x9,0x20,0x64,0xff}}
989 #define INTERFACE p6ICryptoKeySetMeta
1133 #define IF_p6ICryptoKeySetMeta {0xcb3dca8c,0xfa0e,0x41eb,{0x85,0x38,0xfc,0x3a,0x7,0xd1,0xa3,0x8a}}
1155 static const P6CRYPTOKEYMASK P6CKM_NONE = 0x00000000;
1156 static const P6CRYPTOKEYMASK P6CKM_CLASS = 0x00000001;
1157 static const P6CRYPTOKEYMASK P6CKM_TYPE = 0x00000002;
1158 static const P6CRYPTOKEYMASK P6CKM_SIZE = 0x00000004;
1159 static const P6CRYPTOKEYMASK P6CKM_GUID = 0x00000008;
1160 static const P6CRYPTOKEYMASK P6CKM_VERSION = 0x00000010;
1194 #define INTERFACE p6ICryptoKey
1544 #define IF_p6ICryptoKey {0xA8E297EE,0x8F07,0x4D33,{0xAD,0x7F,0xCC,0x64,0x2B,0x52,0xE7,0x65}}
1553 #define INTERFACE p6ICryptoKey2
1974 #define IF_p6ICryptoKey2 {0xb3799ebf,0x8193,0x4bed,{0xbc,0xd3,0x73,0xe7,0x51,0x8b,0x33,0xe4}}
1978 #define COMP_p6CryptoKey {0xD797AD3A,0x1CD8,0x4A78,{0xAF,0x7E,0x3E,0xE0,0x3B,0x1A,0xD8,0x97}}
const P6CRYPTOKEYFLAGS P6CKF_FORCENEWIV
Cryptography component definitions.
This interface provides key metadata infrormation and key access.
P6UINT32 P6CRYPTOKEYFLAGS
P6CRYPTOKEYFLAGS.
Used to initialize and load a crypto key from a file or buffers.
P6CRYPTOKEYCLASS
Used to categorize keys:
unsigned char P6BOOL
Boolean type.
P6CRYPTOKEYTYPE
Used to categorize keys:
[p6]COM Cryptographic Random Number Generator.
P6CRYPTOCIPHER
Cipher Type.
This interface provides key metadata infrormation and key access.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
The base interface all [p6]COM components must derive from and implement.
Provides a cryptographically strong random number generator.
const P6CRYPTOKEYFLAGS P6CKF_NONE
P6CRYPTOKEYSTATE
The current state of the key as defined in: NIST DRAFT Special Publication 800-130, A Framework for Designing Cryptographic Key Management Systems, June 15, 2010.
A universally unique indentifier (UUID).
Used to initialize and load a crypto key from a file or buffers.
#define P6DECLCOMMETHOD(method)
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
P6CRYPTOKEYCLASS keyClass
P6UINT32 P6CRYPTOKEYMASK
P6CRYPTOKEYMASK.
When a key is written to a file it is stamped with a set of meta data that define the key...
char P6CHAR
Narrow character type.
#define P6DECLAREIF_(iface, baseif)