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

#include <p6kmipclient.h>

Public Attributes

p6IKMIPStrpUniqueId
 
P6UINT32 type
 
union {
   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.

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 1, (KMIP_OBJECT_CERTIFICATE) standard P6R certificate component symmetricKey - item 2, (KMIP_OBJECT_SYMMETRICKEY) a Symmetric Key publicKey - item 3, (KMIP_OBJECT_PUBLICKEY) a Public Key privateKey - item 4, (KMIP_OBJECT_PRIVATEKEY) a Private Key splitKey - item 5, (KMIP_OBJECT_SPLITKEY) part of a key pTemplate - item 6, (KMIP_OBJECT_TEMPLATE) an enumerator returning all the attributes that make up a template secretData - item 7, (KMIP_OBJECT_SECRETDATA) returned as a binary blob opaqueObject - item 8, (KMIP_OBJECT_OPAQUE) returned as a binary blob pgpKey - item 9, (KMIP_OBJECT_PGPKEY) returned PGP key blob rawCert - item 20, (KMIP_OBJECT_RAWCERT) a certificate that cannot be represented by a p6ICert object rawSymmetricKey - item 21, (KMIP_OBJECT_RAWSYMKEY) a KMIP Key Block holding a Symmetric Key (with meta data) that cannot be represented by a p6ICryptoKey object rawPublicKey - item 22, (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 23, (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 24, (KMIP_OBJECT_RAWOBJ) an unsupported managed object format returned as a binary blob wrappedSymmetricKey - item 25, (KMIP_OBJECT_WRAPSYMKEY) key Value structure in a Key Block is encrypted and or signed for a symmetric key wrappedPublicKey - item 26, (KMIP_OBJECT_WRAPPUBKEY) key Value structure in a Key Block is encrypted and or signed for a public key wrappedPrivateKey - item 27, (KMIP_OBJECT_WRAPPRVKEY) key Value structure in a Key Block is encrypted and or signed for a private key wrappedSercetData - item 28, (KMIP_OBJECT_WRAPSECRET) key Value structure in a Key Block is encrypted and or signed for a secret data wrappedSplitKey - item 29, (KMIP_OBJECT_WRAPSPLITKEY) key Value structure in a Key Block is encrypted and or signed for a split key PKCS12 - item 30, (KMIP_OBJECT_PKCS12) a collection of a private key and its associated certificate chain as specified in RFC 7292

Definition at line 1815 of file p6kmipclient.h.


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