Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6KMIP_RAWKEY Struct Reference

#include <p6kmipencoder.h>

Public Attributes

P6UINT32 attribCount
 
P6BOOL bRawKeyMaterial
 
P6UINT32 compressionType
 
P6UINT32 cryptoAlgorithm
 
P6UINT32 cryptoLength
 
P6UINT32 keyFormatType
 
P6BCSTR keyMaterial
 
P6UINT32 objectType
 
P6KMIP_ATTRIBUTEpAttributeList
 

Detailed Description

P6KMIP_RAWKEY.

When the key material is not supported by a p6ICryptoKey object use this structure to pass the key info to the encoder. It is possible to have no key material when registring a key object to the server. The client would then set a "Key Value Location" attribute on the key object to define its remote location.

objectType - what type of key is encoded, see Section 9.1.3.2.12 in p6kmip.h, Object Type Enumeration keyFormatType - how the key material is encoded, see Section 9.1.3.2.3 in p6kmip.h, Key Format Type Enumeration compressionType - optional, set to zero if not in use, how the key material is encoded, see Section 9.1.3.2.2 in p6kmip.h, Key Compression Type Enumeration keyMaterial - can be a raw byte string, or a complete TTLV encoded bytes that will be placed into a Key Block structure as the Key material field, keyMaterial.pString can be NULL indicating that there is no Key Value field in the Key Block structure pAttributeList - optional can be NULL, a set of attributes to be encoded into the Key Value with the key material cryptoAlgorithm - optional, set to zero if not in use, Section 9.1.3.2.13 in p6kmip.h, Cryptographic Algorithm Enumeration cryptoLength - optional, set to zero if not in use, an integer value, size of the key in bits bRawKeyMaterial - if true, then keyMaterial field is a simple byte string rather than a TTLV encoded block

Definition at line 729 of file p6kmipencoder.h.


The documentation for this struct was generated from the following file: