17 #ifndef P6KMIPCLIENT_H__
18 #define P6KMIPCLIENT_H__ 1
74 #define IF_p6IKMIPVersions {0xb319ec18,0xe064,0x4c7b,{0x9b,0x91,0x1c,0x20,0xc7,0xfe,0x4b,0xc2}}
77 #define COMP_p6KMIPVersions {0x4ea4e33b,0xc6cf,0x47fa,{0x96,0xe5,0xd4,0x2e,0x9a,0x3e,0xfc,0xb3}}
127 #define IF_p6IKMIPEnum {0x249e72b1,0x1658,0x40fa,{0xa8,0x5d,0xa1,0x22,0x38,0x5c,0xef,0x75}}
130 #define COMP_p6KMIPEnum {0x38fbb4e8,0x9ad8,0x48b8,{0x99,0x7f,0x50,0x1d,0x3a,0x39,0x84,0x19}}
180 #define IF_p6IKMIPStr {0xcd246edf,0x3340,0x437e,{0x93,0xaf,0x87,0xc6,0xa6,0xaa,0x7c,0xe2}}
183 #define COMP_p6KMIPStr {0x3a5a4252,0x73ca,0x45ca,{0x98,0x91,0x77,0xe6,0xa9,0x69,0xfa,0x7f}}
246 #define IF_p6IKMIPBinary {0x4c634fd3,0x5f17,0x4454,{0x83,0xd5,0x57,0xbf,0x5b,0x55,0x94,0xd7}}
249 #define COMP_p6KMIPBinary {0x9f939b61,0x6fc4,0x4579,{0x83,0xc5,0xad,0x61,0xab,0xbf,0x3a,0x22}}
380 } P6KMIP_OBJECT_ATTRIBUTE;
446 #define IF_p6IKMIPAttribute {0xe39e896d,0x8f38,0x456d,{0xa1,0xc7,0x17,0xe2,0x21,0x19,0xa9,0x19}}
449 #define COMP_p6KMIPAttribute {0x1ab3df9e,0x5b29,0x4372,{0x89,0xca,0x16,0x3d,0xd3,0x1b,0x65,0xfc}}
501 #define IF_p6IKMIPNamespace {0xac4abe06,0xe273,0x4c83,{0x88,0x9d,0x5d,0xda,0x6a,0x2,0x33,0x0}}
504 #define COMP_p6KMIPNamespace {0x1e9fc2e2,0xf05c,0x478a,{0xa0,0x98,0xd0,0x8,0x7c,0xc7,0xc0,0x81}}
555 #define IF_p6IKMIPName {0x55e94da,0xfb6a,0x4083,{0xb5,0x5a,0x44,0x49,0xc2,0x10,0x1d,0x77}}
558 #define COMP_p6KMIPName {0x966ce299,0xdc38,0x488a,{0x89,0x8a,0xb7,0x9b,0xbd,0xc,0x32,0x28}}
608 #define IF_p6IKMIPExtInfo {0x2d95d569,0x2bbe,0x4aaf,{0x84,0xff,0x83,0x89,0xd,0xa7,0x2f,0x3f}}
611 #define COMP_p6KMIPExtInfo {0xb49847a,0x1711,0x4e2b,{0xa7,0x92,0xe9,0x8c,0x8,0x51,0xa5,0x14}}
883 } P6KMIP_REGKEYPARAMS;
1516 } P6KMIP_BATCHRESULT;
1561 #define IF_p6IKMIPResult {0x3debb8d7,0x6a9c,0x4e96,{0x87,0xe5,0x8c,0xe9,0x4a,0xf,0x4f,0x4d}}
1564 #define COMP_p6KMIPResult {0xe87f5fd3,0x7c14,0x4f47,{0xbd,0xbb,0xa3,0xbb,0xc2,0xf,0xbf,0x97}}
2884 #define IF_p6IKMIPClient {0xeac45e0f,0xc17,0x481c,{0x80,0x1d,0x61,0x3e,0xbe,0x0,0x5,0x81}}
2887 #define COMP_p6KMIPClient {0x5af5ed8,0xc94f,0x436b,{0x94,0x3f,0xf1,0x37,0x44,0xfd,0x2d,0xfd}}
P6KMIP_TEMPLATEATTRIBUTE attributes
This interface is an enumerator that returns a list of KMIP UTF-8 text string type values...
P6KMIP_KEYWRAPPING * pWrapInfo
virtual P6R::P6ERR serverSupportsOperation(P6UINT32 opCode)=0
Does the KMIP server support the specified operation? The caller can use this function instead of cal...
P6KMIP_DOMAINPARAMS dParams
P6KMIP_CRYPTOPARAMS encryptParams
P6KMIP_USAGELIMITS attribute.
virtual P6R::P6ERR reKeyObject(P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT *pReKey, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to re-key an existing symmetric key managed object with a set of attributes speci...
P6BCSTR distinguishedName
const P6KMIPFLAGS P6KMIPFLG_TRACE_HTTPHEADERS
This interface allows the caller to find an existing key, certificate, or blob (e.g., password) by a namespace and name pair.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPAttribute * pAttributes
P6KMIP_NEWOBJECT joinSplitKey
p6IKMIPAttribute * pTemplate
P6KMIP_NEWOBJECT privateKeyInfo
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_RAWCERT rawCertificate
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6KMIP_ATTRIBRESULT deleteAttribute
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR reKeyPairObjects(P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT *pPrivate, P6KMIP_NEWOBJECT *pPublic, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to re-key an asymmetric key pair set of managed objects with a set of attributes ...
A convience structure to pass around a narrow string along with its length.
P6KMIP_SPLITSPEC splitdef
This interface is an enumerator that returns a list of KMIP P6KMIP_VERSION values.
virtual P6R::P6ERR registerTemplateObject(P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register a template managed object with the connected KMIP server.
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
P6KMIP_KEYWRAPPINGDATA wrapData
virtual P6R::P6ERR destroyObject(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Change the state on a managed object to deactivated and remove its content from a KMIP server...
P6KMIP_TEMPLATEATTRIBUTE attributes
This interface provides key metadata infrormation and key access.
p6IDHKeyExchange * pDHPubKey
P6UINT32 privateKeyEncoding
p6IKMIPAttribute * pAttributes
P6KMIP_NAME alternativeName
P6R's interface of the DOM parser.
P6UINT32 P6KMIPFLAGS
P6KMIPFLAGS.
P6KMIP_OBJECT_X509NAME x509certificateSubject
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_REVOCATION attribute.
virtual P6R::P6ERR checkAndGetUsageAllocation(P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_CHECKRESULT *pCheck, P6KMIP_RESULT *pResult)=0
This function sends the combination of a check operation followed by a get usage allocation operation...
p6IKMIPBinary * pAsynchCorrelation
P6KMIP_ATTRIBRESULT getAttributes
P6KMIP_MSGEXTENSION * pExtension
P6R's keystore component to manage keys, certificates, and blobs.
P6KMIP_TEMPLATEATTRIBUTE * pPrivateKeyAttributes
virtual P6R::P6ERR sign(P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT *pCipherText, P6KMIP_RESULT *pResult)=0
Request the server to sign data passed in the signParams parameter with a selected key (a KMIP 1...
P6INT64 * pUsageLimitsCount
P6KMIP_WRAPKEYBLOCK wrappedPublicKey
virtual P6R::P6ERR modifyAttributeObject(P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT *pModResult, P6KMIP_RESULT *pResult)=0
Change the value of an existing attribute of a managed object, selected by the uniqueIdentifier param...
P6UINT32 * pStorageStatusMask
virtual P6R::P6ERR cancel(P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION *pExtension, P6KMIP_RESULT *pResult, P6UINT32 *pCancelResult)=0
Cancel a pending KMIP server request.
P6KMIP_NEWOBJECT reKeyObject
const P6KMIPFLAGS P6KMIPFLG_TRACE_BASIC
P6KMIP_USAGELIMITS usageLimits
virtual P6R::P6ERR getUsageAllocation(P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Request from the KMIP server a usage allocation for a managed object that can provide cryptographic p...
virtual P6R::P6ERR deleteAttributeObject(P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32 *pIndex, P6KMIP_MSGEXTENSION *pExtension, P6KMIP_ATTRIBRESULT *pDelResult, P6KMIP_RESULT *pResult)=0
Delete an existing attribute of a managed object, selected by the uniqueIdentifier parameter or by th...
virtual P6R::P6ERR registerSecretDataObject(P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register a secret data managed object with the connected KMIP server.
P6KMIP_TEMPLATEATTRIBUTE properties
P6KMIP_MSGEXTENSION * pExtension
p6IKMIPBinary * pAlternateNames
virtual P6R::P6ERR decrypt(P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOOUT *pClearText, P6KMIP_RESULT *pResult)=0
Request the server to decrypt data passed in the decryptParams parameter with a selected key (a KMIP ...
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
virtual P6R::P6ERR modifyAttributes(P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS *pAttributes, p6IKMIPResult **pResult)=0
Modify existing attributes to a managed object(s), selected by the uniqueId parameter or by the ID pl...
P6KMIP_NEWOBJECT createObject
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_CERTNAME certificateSubject
virtual P6R::P6ERR createSplitKey(P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT *pCreate, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to create a split key and register each split as a separate managed object (a KMI...
P6KMIP_NEWKEYPAIR keyPairObjects
virtual P6R::P6ERR next(P6KMIP_EXTENSION *pExtension)=0
Iterate though one or more returned server supported extension definitions.
P6KMIP_NEWOBJECT certifyObject
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPStr * pEncryptKeyId
virtual P6R::P6ERR encrypt(P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOOUT *pCipherText, P6KMIP_RESULT *pResult)=0
Request the server to encrypt data passed in the encryptParams parameter with a selected key (a KMIP ...
P6UINT32 validityIndicator
P6UINT32 * pKeyCompression
virtual P6R::P6ERR serverSupportsObject(P6UINT32 objectType)=0
Does the KMIP server support the specified managed object (e.g., a PGP key)? The caller can use this ...
P6KMIP_CRYPTOPARAMS cParams
P6BCSTR certificateRequest
virtual P6R::P6ERR createKeyPairObjects(P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT *pPrivate, P6KMIP_NEWOBJECT *pPublic, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to create an asymmetric key pair set of managed objects with a set of attributes ...
P6NCSTR operationPolicyName
P6INT32 certificateLength
p6IKMIPBinary * pServerInfo
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR queryServer(P6UINT32 queryCount, P6UINT32 *pQueryFunctions, P6KMIP_MSGEXTENSION *pExtension, P6KMIP_SERVERINFO *pCapabilities, P6KMIP_RESULT *pResult)=0
Query the KMIP server to determine it capabilities If an error is returned by the server any Result M...
P6UINT32 symmetricKeyEncoding
const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSON
virtual P6R::P6ERR locateAndCheckObject(P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult, P6KMIP_CHECKRESULT *pCheck)=0
This function sends the combination of a locate operation followed by a check operation to a KMIP ser...
p6IKMIPBinary * pPrimeFieldSize
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6R's interface of the DOM parser.
P6KMIP_TEMPLATEATTRIBUTE attributes
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR discoverVersions(P6BOOL bClientVersions, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPVersions **ppVersions, P6KMIP_RESULT *pResult)=0
Query the KMIP server as to what protocol versions it supports.
virtual P6R::P6ERR locateAndGetAttributes(P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult **pResult)=0
This function sends the combination of a locate operation folloed by a get attributes operation to a ...
virtual P6R::P6ERR getAttributesAndGet(P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult **pResult)=0
This function sends the combination of a get attributes operation followed by a get operation to a KM...
P6KMIP_CRYPTOPARAMS attribute.
p6IKMIPStr * pAttributeName
P6KMIP_MSGEXTENSION * pExtension
P6NCSTR distinguishedName
P6KMIP_OBJECT_CERTNAME certificateIssuer
virtual P6R::P6ERR recoverObject(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Request the KMIP server to make available a managed object from an archive.
P6KMIP_OBJECT_X509NAME attribute.
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
This interface is an enumerator that returns a list of KMIP binary array values.
virtual P6R::P6ERR next(P6KMIP_BATCHRESULT *pItem)=0
Iterate though one or more batch results of a previous request.
P6KMIP_KEYWRAPPINGDATA wrapData
P6KMIP_APPLICATION applicationInfo
virtual P6R::P6ERR getAttributes(P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT *pGetResult, P6KMIP_RESULT *pResult)=0
Obtain one or more attributes associated with a managed object.
virtual P6R::P6ERR locateObject(P6KMIP_LOCATEPARAMS locate, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Locate zero or more managed objects that match the given attributes list.
const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATKMIPXML
This interface is an enumerator that returns a list of KMIP attribute values.
unsigned short int P6UINT16
P6KMIP_WRAPSECRETDATA wrappedSecretData
const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATBINARY
P6UINT32 publicKeyEncoding
P6KMIP_ATTRIBUTE * pItemList
virtual P6R::P6ERR next(P6NCSTR *pUTF8String)=0
Iterate though one or more returned eumerations from the server.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_ATTRIBUTE attribute
P6KMIP_WRAPPINGSPEC * pSpec
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_TEMPLATEATTRIBUTE attributes
P6KMIP_NEWKEYPAIR reKeyPairObjects
P6KMIP_MSGEXTENSION * pExtension
const P6WCHAR * pSubdirectory
p6IKMIPAttribute * pAttribute
The base interface all [p6]COM components must derive from and implement.
P6R::P6UINT32 P6SECURESOCKETFLAGS
virtual P6R::P6ERR archiveObject(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Notify the KMIP server that the client believes that the managed cryptographic object can be archived...
virtual P6R::P6ERR RNGRetrieve(P6INT32 dataLength, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPBinary **pData, P6KMIP_RESULT *pResult)=0
Request the server to return a random number of a specific length (a KMIP 1.2 function).
P6KMIP_X509CERTID attribute.
P6KMIP_NEWOBJECT deriveKeyObject
This interface is an enumerator that returns a list of results for each batch item in a request...
virtual P6R::P6ERR getAttributeList(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, P6KMIP_ATTRIBUTENAMES *pName, P6KMIP_RESULT *pResult)=0
Obtain the list of attributes that are associated with a managed object.
virtual P6R::P6ERR getResponseDOM(p6IDOMXML **pResponse)=0
Extract the DOM object that contains the previous KMIP server response message.
p6IKMIPBinary * pRNGRetrieve
virtual P6R::P6ERR registerCertificateObject(P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register any type of certificate managed object with the connected KMIP server.
P6KMIP_KEYBLOCK privateKey
P6KMIP_KEYBLOCK symmetricKey
P6NCSTR contactInformation
This encoder function defined in this file presents the lower level interface to the generation of KM...
virtual P6R::P6ERR MAC(P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT *pCipherText, P6KMIP_RESULT *pResult)=0
Request the server to calculate a MAC over data passed in the macParams parameter with a selected key...
virtual P6R::P6ERR getValue(P6KMIP_OBJECT_ATTRIBUTE *pValue)=0
Return the value of the attribute type pointed to by the enumerator's cursor.
P6NCSTR * pAttributeNames
virtual P6R::P6ERR addAttributes(P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS *pAttributes, p6IKMIPResult **pResult)=0
Add the attribute to a managed object(s), selected by the uniqueId parameter or by the ID placeholder...
P6KMIP_X509CERTID x509certificateIdentifier
virtual P6R::P6ERR locateAndGetObject(P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED *pObject, P6KMIP_RESULT *pLocateResult, P6KMIP_RESULT *pGetResult)=0
This function sends the combination of a locate operation followed by a get operation to a KMIP serve...
p6IKMIPStr * pAlternateNames
P6KMIP_KEYBLOCK publicKey
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6KMIP_RAWKEYBLOCK rawPublicKey
virtual P6R::P6ERR extractExtension(P6UINT16 batchIndex, P6KMIP_RESPEXTENSION *pExtension)=0
Every KMIP message batch item can have a message extension returned from the server.
virtual P6R::P6ERR obtainLease(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, P6KMIP_LEASE *pLease, P6KMIP_RESULT *pResult)=0
Request a lease on a managed object.
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR RNGSeed(P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension, P6INT32 *pDataLength, P6KMIP_RESULT *pResult)=0
Request the server to seed a random number generator with the binary data in the pData parameter (a K...
p6IKMIPBinary * pSignature
virtual P6R::P6ERR next(P6KMIP_APPLICATION *pNamespace)=0
Iterate though one or more returned server supported application namespaces.
virtual P6R::P6ERR next(P6UINT32 *pType)=0
Move the cursor to the next attribute saved inside of the enumerator.
const P6KMIPFLAGS P6KMIPFLG_NOFLAGS
This interface is an enumerator that returns a list of KMIP Extension Information values (i...
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
virtual P6R::P6ERR registerMDOObject(P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register a metadata-only object (MDO) with the connected KMIP server.
virtual P6R::P6ERR createKeyObject(P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT *pCreate, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to create a symmetric key managed object with a set of attributes specified by th...
P6KMIP_NEWOBJECT registerObject
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
P6KMIP_TEMPLATEATTRIBUTE * pCommonAttributes
virtual P6R::P6ERR open(const P6WCHAR *pHost, P6UINT32 port, P6KMIP_CREDENTIAL *pCredential)=0
Open a TCP connection to the KMIP server at Host:port or IPAddr:port.
virtual P6R::P6ERR revokeObject(P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME *pOccurenceDate, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Change the state on a managed cryptographic object to either compromised or deactivated.
virtual P6R::P6ERR next(P6KMIP_NAME *pName)=0
Iterate though one or more returned template names.
virtual P6R::P6ERR setAsynchronousIndicator(P6BOOL bAsynch)=0
This Boolean flag indicates whether the client is able to accept an asynchronous response.
const P6KMIPFLAGS P6KMIPFLG_SERVER_TLS
This component provides the basics of the key exchange calculates used in the Diffe-Hellman key excha...
P6KMIP_KEYWRAPPINGDATA wrapData
virtual P6R::P6ERR signatureVerify(P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT *pClearText, P6KMIP_RESULT *pResult)=0
Request the server to verify a signature over data passed in the signParams parameter with a selected...
virtual P6R::P6ERR getObject(P6KMIP_GETPARAMS get, P6KMIP_MANAGED *pObject, P6KMIP_RESULT *pResult)=0
Obtain the managed object associated with a unique identifier.
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
virtual P6R::P6ERR setSSLOptions(const P6WCHAR *pCiphers, P6SECURESOCKETFLAGS fSecureFlags)=0
This method allows the caller to over ride the default SSL settings.
p6IKMIPStr * pUsageAllocation
const P6KMIPFLAGS P6KMIPFLG_DEBUG_MODE
P6KMIP_TEMPLATEATTRIBUTE * pPublicKeyAttributes
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6KMIP_ATTRIBUTENAMES getAttributeList
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR close()=0
Close an existing TCP connection to the KMIP server at Host:port.
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
p6IKMIPAttribute * pAttributes
P6KMIP_RAWKEYBLOCK rawPrivateKey
P6KMIP_XATTRIB attribute.
p6IKMIPBinary * pKeyValue
Network interfaces and definitions.
This interface is an enumerator that returns a list of KMIP Template Names (i.e., Section 2...
virtual P6R::P6ERR checkAndGet(P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED *pObject, P6KMIP_CHECKRESULT *pCheck, P6KMIP_RESULT *pResult)=0
This function sends the combination of a check operation followed by a get operation to a KMIP server...
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_SPLITKEY wrappedSplitKey
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR certifyObject(P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT *pCertify, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to create a certificate object for an existing public key.
p6IDHKeyExchange * pDHPrivKey
P6KMIP_WRAPKEYBLOCK wrappedSymmetricKey
virtual P6R::P6ERR registerOpaqueObject(P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register an opaque managed object with the connected KMIP server.
P6KMIP_NEWOBJECT reCertifyObject
P6KMIP_OBJECT_SPLITKEY splitKey
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
P6KMIP_TEMPLATEATTRIBUTE attributes
P6KMIP_NEWOBJECT publicKeyInfo
P6KMIP_OBJECT_X509NAME x509certificateIssuer
const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATXML
virtual P6R::P6ERR hash(P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPBinary **pHash, P6KMIP_RESULT *pResult)=0
Request the server to seed a random number generator with the binary data in the pData parameter (a K...
P6KMIP_NAME keyValueLocation
const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSONML
P6KMIP_ATTRIBRESULT modifyAttribute
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
P6KMIP_RAWKEYBLOCK rawSymmetricKey
This interface is an enumerator that returns a list of KMIP Application Specific Information values (...
virtual P6R::P6ERR associatedValue(P6UINT64 *pNumber)=0
Return to the caller a value that is associated with the value LAST returned by next().
P6KMIP_OBJECT_CERTNAME attribute.
P6UINT32 * pObjectGroupMember
p6IDHKeyExchange * pDHKey
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_TEMPLATEATTRIBUTE.
const P6KMIPFLAGS P6KMIPFLG_TRACE_VERBOSE
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
Note that the server can return a KMIP_RESULT_PENDING status in the pResult parameter.
P6KMIP_ATTRIBUTE * pAttributeList
p6IKMIPAttribute * pAttributes
const P6KMIPFLAGS P6KMIPFLG_TRACE_OFF
P6KMIP_REVOCATION revocation
P6KMIP_APPLICATION attribute.
virtual P6R::P6ERR poll(P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPResult **pResult)=0
Poll the KMIP server to determine the result of a previous request made to the KMIP server...
p6IKMIPAttribute * pAttributes
P6KMIP_SIGNOUT signatureVerify
This interface is an enumerator that returns a list of KMIP enumeration type values.
const P6KMIPFLAGS P6KMIPFLG_TRACE_MSGS
p6IKMIPExtInfo * pExtensions
P6KMIP_CRYPTOPARAMS signParams
virtual P6R::P6ERR registerKeyObject(P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT *pRegResult, P6KMIP_RESULT *pResult)=0
Register any type of key managed object (e.g., wrapped, unwrapped, tranparent, symmetric.
virtual P6R::P6ERR deriveKeyObject(P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT *pDerived, P6KMIP_RESULT *pResult)=0
Derive a symmetric key or secret data object from existing managed objects already known by a KMIP se...
P6KMIP_NEWOBJECT createSplitKeyObject
P6TIME originalCreationDate
virtual P6R::P6ERR MACVerify(P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT *pClearText, P6KMIP_RESULT *pResult)=0
Request the server to verify a MAC over data passed in the macParams parameter with a selected key (a...
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR next(P6BSTR *pBuffer)=0
Iterate though one or more returned binary buffers from the server.
virtual P6R::P6ERR reCertifyObject(P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT *pCertify, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to renew an existing certificate object for an existing asymmetrick key pair...
P6KMIP_CHECKRESULT checkResult
virtual P6R::P6ERR validate(P6KMIP_VALIDATEPARAMS chain, P6UINT32 *pValidity, P6KMIP_RESULT *pResult)=0
Validate a single certificate chain.
P6KMIP_CERTID certificateIdentifier
virtual P6R::P6ERR addAttributeObject(P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT *pAddResult, P6KMIP_RESULT *pResult)=0
Add the attribute to a managed object, selected by the uniqueIdentifier parameter or by the ID placeh...
virtual P6R::P6ERR count(P6UINT32 *pNumber)=0
Return to the caller the total number of items stored in the enumerator.
virtual P6R::P6ERR joinSplitKey(P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT *pCreate, P6KMIP_RESULT *pResult)=0
Ask the KMIP server to create a new managed object from several parts of a split key (a KMIP 1...
P6UINT32 * pSecretDataType
virtual P6R::P6ERR initialize(P6KMIPFLAGS flags, p6IKeystore *pCerts, P6KMIP_PREF preferences)=0
Sets up the component to run properly.
P6KMIP_ATTRIBRESULT addAttribute
P6KMIP_WRAPKEYBLOCK wrappedPrivateKey
P6KMIP_WRAPPEDKEY wrapKey
p6IKMIPEnum * pOperations
virtual P6R::P6ERR activateObject(P6NCSTR uniqueId, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
Change the state on a managed cryptographic object from a Pre-active to the active state...
virtual P6R::P6ERR next(P6KMIP_VERSION *pSupported)=0
Iterate though one or more returned server supported versopns.
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR revokeAndDestroyObject(P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME *pOccurenceDate, P6KMIP_MSGEXTENSION *pExtension, p6IKMIPStr **ppUniqueId, P6KMIP_RESULT *pResult)=0
First revoke and then destroy the managed object identified by the uniqueId parameter.
char P6CHAR
Narrow character type.
P6KMIP_MSGEXTENSION * pExtension
virtual P6R::P6ERR next(P6NCSTR *pUTF8String)=0
Iterate though one or more returned strings from the server.