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

#include <p6kmipbase.h>

Public Attributes

p6IKMIPStrpUniqueId
 
P6UINT32 type
 
union {
   P6KMIP_BLOB   certifcateRequest
 
   P6KMIP_BLOB   opaqueObject
 
   p6ICert *   pCertificate
 
   P6KMIP_PGPBLOB   pgpKey
 
   P6KMIP_RAWKEYBLOCK   PKCS12
 
   P6KMIP_KEYBLOCK   privateKey
 
   p6IKMIPAttribute *   pTemplate
 
   P6KMIP_KEYBLOCK   publicKey
 
   P6KMIP_BLOB   rawCert
 
   P6KMIP_BLOB   rawObject
 
   P6KMIP_RAWKEYBLOCK   rawPrivateKey
 
   P6KMIP_RAWKEYBLOCK   rawPublicKey
 
   P6KMIP_RAWKEYBLOCK   rawSymmetricKey
 
   P6KMIP_BLOB   secretData
 
   P6KMIP_OBJECT_SPLITKEY   splitKey
 
   P6KMIP_KEYBLOCK   symmetricKey
 
   P6KMIP_WRAPKEYBLOCK   wrappedPrivateKey
 
   P6KMIP_WRAPKEYBLOCK   wrappedPublicKey
 
   P6KMIP_WRAPSECRETDATA   wrappedSecretData
 
   P6KMIP_OBJECT_SPLITKEY   wrappedSplitKey
 
   P6KMIP_WRAPKEYBLOCK   wrappedSymmetricKey
 
value
 

Detailed Description

P6KMIP_MANAGED.

Contains managed object returned by the server to the client. Note, that wrapped keys have their encrypted and or signed Key Value structure returned to the caller as a binary blob so that the caller can unencrypt and verify the signature.

Note, that Transparent DH Public and Private keys will be returned as items 11 and 12 respectively (rawPublicKey.format and rawPrivateKey.format contains the key format codes). The returned key blob can be converted by a caller into a p6DHKeyExchange object using the p6DHKeyExchange::loadRawPublicKey() and p6DHKeyExchange::loadRawPrivateKey() methods.

Note, when using KMIP 2.0 item 6, pTemplate will never be returned since templates have been removed from KMIP protocol version 2.0.

pUniqueId - an enumerator that holds the unique identifier of the returned managed object in value (will be NULL when receiving a PUT operation). type - indicates which union element is used {1..}, 0 means no value set (Section 9.1.3.2.12 in p6kmip.h, Object Type Enumeration), for keys a zero value means that there was to Key Value field in the Key Block returned by the server.

pCertificate - item KMIP_OBJECT_CERTIFICATE standard P6R certificate component symmetricKey - item KMIP_OBJECT_SYMMETRICKEY a Symmetric Key publicKey - item KMIP_OBJECT_PUBLICKEY a Public Key privateKey - item KMIP_OBJECT_PRIVATEKEY a Private Key splitKey - item KMIP_OBJECT_SPLITKEY part of a key pTemplate - item KMIP_OBJECT_TEMPLATE an enumerator returning all the attributes that make up a template, removed in KMIP 2.0 secretData - item KMIP_OBJECT_SECRETDATA returned as a binary blob opaqueObject - item KMIP_OBJECT_OPAQUE returned as a binary blob pgpKey - item KMIP_OBJECT_PGPKEY returned PGP key blob rawCert - item KMIP_OBJECT_RAWCERT a certificate that cannot be represented by a p6ICert object rawSymmetricKey - item KMIP_OBJECT_RAWSYMKEY a KMIP Key Block holding a Symmetric Key (with meta data) that cannot be represented by a p6ICryptoKey object rawPublicKey - item KMIP_OBJECT_RAWPUBKEY a KMIP Key Block holding a public key (with meta data) that cannot be represented by a p6ICryptoKey/p6IDHKeyExchange objects rawPrivateKey - item KMIP_OBJECT_RAWPRVKEY a KMIP Key Block holding a private key (with meta data) that cannot be represented by a p6ICryptoKey/p6IDHKeyExchange objects rawObject - item KMIP_OBJECT_RAWOBJ an unsupported managed object format returned as a binary blob wrappedSymmetricKey - item KMIP_OBJECT_WRAPSYMKEY key Value structure in a Key Block is encrypted and or signed for a symmetric key wrappedPublicKey - item KMIP_OBJECT_WRAPPUBKEY key Value structure in a Key Block is encrypted and or signed for a public key wrappedPrivateKey - item KMIP_OBJECT_WRAPPRVKEY key Value structure in a Key Block is encrypted and or signed for a private key wrappedSercetData - item KMIP_OBJECT_WRAPSECRET key Value structure in a Key Block is encrypted and or signed for a secret data wrappedSplitKey - item KMIP_OBJECT_WRAPSPLITKEY key Value structure in a Key Block is encrypted and or signed for a split key PKCS12 - item KMIP_OBJECT_PKCS12 a collection of a private key and its associated certificate chain as specified in RFC 7292 certificateRequest - item KMIP_OBJECT_CERTREQUEST a structure indicating the certificate request type and the bytes making up the request

Definition at line 1769 of file p6kmipbase.h.


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