21 #ifndef P6KMIPENCODER_H__
22 #define P6KMIPENCODER_H__ 1
2140 #define IF_p6IKMIPRequest {0xb972a9bf,0xf0c,0x4f40,{0x85,0x91,0xcb,0x6d,0xdf,0x80,0x79,0x90}}
2939 #define IF_p6IKMIPResponse {0xffb702bb,0x8ff4,0x423e,{0x9e,0x4d,0xa0,0xe8,0xd0,0x8b,0x42,0x33}}
3028 #define IF_p6IKMIPEncoder {0x9d517a85,0xbc81,0x4bf8,{0xb2,0xfd,0xfb,0x67,0x9a,0x9b,0xc9,0xa3}}
3031 #define COMP_p6KMIPEncoder {0x7e0bab5e,0xb69f,0x4bcd,{0x8c,0xa1,0x9d,0x40,0xec,0xc,0x44,0xd9}}
P6KMIP_X509CERTNAME attribute.
virtual P6R::P6ERR startRequestMsg(P6KMIP_REQUESTPARAMS params)=0
Start the creation of a KMIP request message.
P6KMIP_CERTNAME attribute.
virtual P6R::P6ERR addCertifyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the certify batch item to the current response message.
P6KMIP_USAGELIMITS attribute.
const P6KMIPVERSION P6KMIP_VERSION_10
P6KMIP_NAME alternativeName
P6TIME originalCreationDate
virtual P6R::P6ERR addPollRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the poll batch item to the current request message.
virtual P6R::P6ERR addGetRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pKeyFormat, P6UINT32 *pKeyCompression, P6KMIP_WRAPPINGSPEC *pSpec, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current request message.
virtual P6R::P6ERR addRegisterKeyRequest(p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed)...
virtual P6R::P6ERR initialize(P6KMIPENCODERFLAGS flags, P6KMIPVERSION version, p6IIoBufferFactory *pPool, P6KMIP_ENCODER_PREF *pPreferences)=0
Sets up the object to run properly.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATETYPE
virtual P6R::P6ERR addGetSplitKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_SPLITKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addRegisterWrappedKeyRequest(P6KMIP_WRAPPEDKEY wrapKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a wrapped key, which can be encrypted and/or signed.
A convience structure to pass around a narrow string along with its length.
const P6R::P6UINT8 KMIP_ATTRIB_EXTENSION
virtual P6R::P6ERR addCreateSplitKeyRequest(P6KMIP_SPLITSPEC splitdef, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create split key batch item to the current request message.
virtual P6R::P6ERR addNotify(P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6BOOL *pIgnore, P6KMIP_MSGEXTENSION *pExtension)=0
A notify is used as the only batch item in a message.
P6KMIP_CRYPTOPARAMS * pParams
This interface provides key metadata infrormation and key access.
P6KMIP_CERTID certificateIdentifier
const P6R::P6UINT8 KMIP_ATTRIB_REVOCATION
virtual P6R::P6ERR addObtainLeaseRsponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 leaseTime, P6TIME lastChangeDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the obtain lease attribute batch item to the current response message.
virtual P6R::P6ERR addRegisterResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item to the current response message.
virtual P6R::P6ERR addGetAttributeListResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 nameCount, P6NCSTR *pNameList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attribute list batch item to the current response message.
P6KMIP_ATTRIBUTE * pAttributeList
const P6R::P6UINT8 KMIP_ATTRIB_FRESH
P6NCSTR operationPolicyName
P6KMIP_REVOCATION attribute.
const P6R::P6UINT8 KMIP_ATTRIB_LEASETIME
virtual P6R::P6ERR addNotifyResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item to the current response message.
Constant KMIP definitions.
virtual P6R::P6ERR addDecryptRequest(P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the decrypt batch item to the current request message.
virtual P6R::P6ERR addRNGSeedRequest(P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Seed batch item to the current request message.
virtual P6R::P6ERR addRecoverResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the recover batch item to the current response message.
virtual P6R::P6ERR addPutSecretDataRequest(P6KMIP_PUT params, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a shared secret.
virtual P6R::P6ERR addRegisterOpaqueRequest(P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an opaque object.
This interface is used to create / encode the construction of a KMIP message as defined in Key Manage...
virtual P6R::P6ERR addMACRequest(P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC batch item to the current request message.
virtual P6R::P6ERR addRNGRetrieveRequest(P6INT32 dataLength, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Retrive batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_DESTROYDATE
const P6R::P6UINT8 KMIP_ATTRIB_DIGEST
const P6KMIPVERSION P6KMIP_VERSION_12
P6KMIP_REVOCATION revocation
virtual P6R::P6ERR addReCertifyRequest(P6NCSTR uniqueIdentifier, P6R::P6UINT32 *pOffset, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-certify batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_DIGITALSIGALG
virtual P6R::P6ERR addQueryResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_QUERYRESULT features, P6KMIP_MSGEXTENSION *pExtension)=0
Add the query batch item to the current response message.
virtual P6R::P6ERR addPutSplitKeyRequest(P6KMIP_PUT params, P6KMIP_SPLITKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a split key, which can be in the clear, encrypted and/or signed...
virtual P6R::P6ERR addRegisterX509KeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a key in the X.509 DER format, which is not represeted by a p6ICrypto...
virtual P6R::P6ERR addGetSecretDataResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_COMPROMISEDATE
virtual P6R::P6ERR addRegisterTemplateRequest(P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a KMIP Template.
P6UINT32 publicKeyEncoding
virtual P6R::P6ERR addLocateRequest(P6UINT32 *pMaxItems, P6UINT32 *pStorageStatusMask, P6UINT32 *pObjectGroupMember, P6UINT32 attribCount, P6KMIP_ATTRIBUTE *pAttributeList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the locate batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_STATE
virtual P6R::P6ERR addSignRequest(P6KMIP_SIGNIN signParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the sign batch item to the current request message.
virtual P6R::P6ERR addRegisterSplitKeyRequest(P6KMIP_SPLITKEY *pKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a split key, which can be in the clear, encrypted and/or signed...
virtual P6R::P6ERR addRegisterCertificateRequest(p6ICert *pCertificate, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate.
virtual P6R::P6ERR addPollNotCompletedResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the poll batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOALGORITHM
const P6R::P6UINT8 KMIP_ATTRIB_KEYVALELOCATION
virtual P6R::P6ERR addSignatureVerifyRequest(P6KMIP_SIGNIN signParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the signature verify batch item to the current request message.
This factory interface is responsible for creating and managing memory pooled Io Buffers (p6IIoBuffer...
const P6R::P6UINT8 KMIP_ATTRIB_OPERATIONPOLICYNAME
virtual P6R::P6ERR addCancelRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the cancel batch item to the current request message.
virtual P6R::P6ERR addRegisterRawCertificateRequest(P6UINT32 certType, P6BCSTR certValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate not supported by a p6ICert object.
virtual P6R::P6ERR addDiscoverVersionsResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 itemCount, P6KMIP_VERSION *pVersionList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the discover versions batch item to the current response message.
virtual P6R::P6ERR addQueryRequest(P6UINT32 queryCount, P6UINT32 *pQueryFunctions, P6KMIP_MSGEXTENSION *pExtension)=0
Add the query batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_APPLICATIONINFO
P6UINT32 * pInitialCounterLength
P6NCSTR distinguishedName
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATESUBJECT
virtual P6R::P6ERR addRegisterSecretDataRequest(P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a shared secret.
P6UINT32 symmetricKeyEncoding
virtual P6R::P6ERR addValidateRequest(P6UINT32 certCount, p6ICert **pCertList, P6UINT32 idCount, P6NCSTR *pIdList, P6TIME *pValidityDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the validate batch item to the current request message.
P6KMIP_CRYPTOPARAMS params
const P6KMIPVERSION P6KMIP_VERSION_11
virtual P6R::P6ERR addDeleteAttributeRequest(P6NCSTR uniqueIdentifier, P6NCSTR attributeName, P6INT32 *pAttributeIndex, P6KMIP_MSGEXTENSION *pExtension)=0
Add the delete attribute batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_ALTERNATIVENAME
virtual P6R::P6ERR addAddAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the add attribute batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOPARAMS
P6KMIP_CRYPTOPARAMS attribute.
virtual P6R::P6ERR addHashRequest(P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension)=0
Add the Hash batch item to the current request message.
P6KMIP_CERTNAME certificateSubject
virtual P6R::P6ERR addDestroyRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the destroy batch item to the current request message.
virtual P6R::P6ERR addGetCertificateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, p6ICert *pCertificate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addReKeyRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key batch item to the current request message.
virtual P6R::P6ERR addPutOpaqueRequest(P6KMIP_PUT params, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an opaque object.
const P6R::P6UINT8 KMIP_ATTRIB_COMPROMISEOCCURANCEDATE
virtual P6R::P6ERR addDeleteAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the delete attribute batch item to the current response message.
P6UINT32 digitalSignatureAlg
virtual P6R::P6ERR addRegisterRawKeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for any key format especially for keys that cannot be represented by a p6...
Interface definition for Diffe-Hellman Key Exchange References: 1) RFC 4253, SSH Transport Layer Prot...
P6UINT32 hashingAlgorithm
P6BOOL * pBatchOrderOption
virtual P6R::P6ERR addCreateKeyPairResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR privateKeyId, P6NCSTR publicKeyId, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create key pair batch item to the current response message.
The base interface all [p6]COM components must derive from and implement.
P6KMIP_KEYWRAPPING * pWrapInfo
P6KMIP_APPLICATION applicationInfo
P6KMIP_APPLICATION * pNamespaces
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTODOMAINPARAMS
const P6R::P6UINT8 KMIP_ATTRIB_CONTACTINFORMATION
P6KMIP_X509CERTID attribute.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATEIDENTIFIER
const P6R::P6UINT8 KMIP_ATTRIB_KEYVALUEPRESENT
virtual P6R::P6ERR startResponseMsg()=0
Start the creation of a KMIP response message.
virtual P6R::P6ERR addGetRawKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_RAWKEY keyInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
P6UINT32 privateKeyEncoding
P6KMIP_CRYPTOPARAMS * pParams
const P6R::P6UINT8 KMIP_ATTRIB_ACTIVATIONDATE
virtual P6R::P6ERR addCheckResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_USAGELIMITS *pLimits, P6UINT32 *pUsageMask, P6UINT32 *pLeaseTime, P6KMIP_MSGEXTENSION *pExtension)=0
Add the check batch item to the current response message.
virtual P6R::P6ERR addCreateRequest(P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATESUBJECT
virtual P6R::P6ERR addCancelResponse(P6KMIP_RESPONSEPARAMS result, P6BCSTR correlationValue, P6UINT32 cancelResult, P6KMIP_MSGEXTENSION *pExtension)=0
Add the cancel batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_LASTCHANGEDATE
const P6R::P6UINT8 KMIP_ATTRIB_LINK
virtual P6R::P6ERR addGetUsageAllocationRequest(P6NCSTR uniqueIdentifier, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get usage allocated batch item to the current request message.
virtual P6R::P6ERR addGetRawCertificateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 certType, P6BCSTR certValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_NAME
virtual P6R::P6ERR addLocateResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 idCount, P6NCSTR *pIdList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the locate batch item to the current response message.
P6KMIP_ATTRIBUTE * pAttributeList
Interface definition for X509 V3 Certificates.
const P6R::P6UINT8 KMIP_ATTRIB_ARCHIVEDATE
virtual P6R::P6ERR addActivateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the activate batch item to the current response message.
P6NCSTR replacedIdentifier
P6INT32 certificateLength
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATEISSUER
virtual P6R::P6ERR addGetTemplateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addGetUsageAllocationResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get usage allocation batch item to the current response message.
virtual P6R::P6ERR addDestroyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the destroy batch item to the current response message.
virtual P6R::P6ERR addAddAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the add attribute batch item to the current response message.
virtual P6R::P6ERR addRecoverRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the recover batch item to the current request message.
virtual P6R::P6ERR addGetAttributeListRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attribute list batch item to the current request message.
virtual P6R::P6ERR addObtainLeaseRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the obtain lease batch item to the current request message.
virtual P6R::P6ERR addRegisterDHKeyRequest(p6IDHKeyExchange *pKey, P6UINT32 keyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6IDHKeyExchange (i.e., not encrypted nor signed)...
const P6R::P6UINT8 KMIP_ATTRIB_USAGELIMITS
virtual P6R::P6ERR addJoinSplitKeyRequest(P6UINT32 objectType, P6UINT32 idCount, P6NCSTR *pIdList, P6UINT32 *pSecretType, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the join split key batch item to the current request message.
P6KMIP_EXTENSION * pExtension
P6NCSTR * pAttributeNames
virtual P6R::P6ERR addActivateRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the activate batch item to the current request message.
virtual P6R::P6ERR addGetWrappedKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_WRAPPEDKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addRevokeRequest(P6NCSTR uniqueIdentifier, P6KMIP_REVOCATION reason, P6TIME *pOccurenceDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the revoke batch item to the current request message.
P6UINT32 P6KMIPVERSION
P6KMIPVERSION.
virtual P6R::P6ERR addModifyAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the modify attribute batch item to the current response message.
P6KMIP_NAME keyValueLocation
virtual P6R::P6ERR addGetAttributesResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6KMIP_ATTRIBUTE *pAttributeList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attributes batch item to the current response message.
P6KMIP_CREDENTIAL * pCredential
This component provides the basics of the key exchange calculates used in the Diffe-Hellman key excha...
const P6R::P6UINT8 KMIP_ATTRIB_ORIGCREATIONDATE
P6KMIP_KEYWRAPPING * pWrapInfo
This interface is used to create / encode the construction of a KMIP request message as defined in Ke...
const P6R::P6UINT8 KMIP_ATTRIB_OBJECTTYPE
virtual P6R::P6ERR addReKeyKeyPairResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR privateKeyId, P6NCSTR publicKeyId, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key key pair batch item to the current response message.
P6BCSTR distinguishedName
virtual P6R::P6ERR addRevokeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the revoke batch item to the current response message.
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
virtual P6R::P6ERR addReKeyKeyPairRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key key pair batch item to the current request message.
P6KMIP_ATTRIBUTE * pAttributeList
virtual P6R::P6ERR addRegisterMDORequest(P6UINT32 objectType, P6UINT32 cryptoAlg, P6UINT32 cryptoLength, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a meta-data only object (MDO).
virtual P6R::P6ERR addRegisterPGPKeyRequest(P6KMIP_PGPKEY key, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped PGP key (i.e., not encrypted nor signed).
P6KMIP_CERTNAME certificateIssuer
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOLENGTH
const P6R::P6UINT8 KMIP_ATTRIB_DEACTIVATIONDATE
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATEIDENTIFIER
virtual P6R::P6ERR addGetAttributesRequest(P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6NCSTR *pAttributeNames, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attributes batch item to the current request message.
virtual P6R::P6ERR endResponseMsg()=0
Finish the encoding of a KMIP response message.
P6UINT32 cryptographicAlg
P6KMIP_XATTRIB attribute.
P6NCSTR contactInformation
virtual P6R::P6ERR addPutWrappedKeyRequest(P6KMIP_PUT params, P6KMIP_WRAPPEDKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a wrapped key, which can be encrypted and/or signed.
virtual P6R::P6ERR addArchiveRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the archive batch item to the current request message.
virtual P6R::P6ERR addReKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key batch item to the current response message.
const P6KMIPENCODERFLAGS P6KMIPENCODER_NOFLAGS
const P6R::P6UINT8 KMIP_ATTRIB_OBJECTGROUP
virtual P6R::P6ERR addReCertifyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-certify batch item to the current response message.
virtual P6R::P6ERR addValidateResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 validityIndicator, P6KMIP_MSGEXTENSION *pExtension)=0
Add the validate batch item to the current response message.
P6KMIP_USAGELIMITS usageLimits
const P6KMIPENCODERFLAGS P6KMIPENCODER_TRACEON
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
virtual P6R::P6ERR addPutResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_NOVALUE
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATELENGTH
P6KMIP_TEMPLATEATTRIBUTE.
virtual P6R::P6ERR endRequestMsg()=0
Finish the encoding of a KMIP request message.
P6KMIP_DOMAINPARAMS dParams
P6UINT32 P6KMIPENCODERFLAGS
P6KMIPENCODERFLAGS.
virtual P6R::P6ERR addGetKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_KEY keyInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addCertifyRequest(P6NCSTR uniqueIdentifier, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the certify batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_UNIQUEIDENTIFIER
Attribute codes used in P6KMIP_ATTRIBUTE structure.
const P6R::P6UINT8 KMIP_ATTRIB_PROTECTSTOPDATE
virtual P6R::P6ERR getBufPtr(p6IIoBuffer **pBuffer)=0
This method returns a pointer to the IO buffer component where the KMIP packet has been assembled...
P6KMIP_X509CERTNAME x509certificateIssuer
P6KMIP_APPLICATION attribute.
virtual P6R::P6ERR addPutTemplateRequest(P6KMIP_PUT params, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a KMIP Template.
virtual P6R::P6ERR addPutKeyRequest(P6KMIP_PUT params, p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed).
virtual P6R::P6ERR addCreateKeyPairRequest(P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the createKeyPair batch item to the current request message.
virtual P6R::P6ERR addModifyAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the modify attribute batch item to the current request message.
P6KMIP_CRYPTOPARAMS cParams
P6KMIP_CRYPTOPARAMS params
P6NCSTR * pUniqueIdentifers
const P6R::P6UINT8 KMIP_ATTRIB_PROCESSSTARTDATE
virtual P6R::P6ERR addDeriveKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the derive key batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATEISSUER
P6KMIP_ATTRIBUTE * pAttributeList
virtual P6R::P6ERR addArchiveResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the archive batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_CUSTOM
virtual P6R::P6ERR addPutCertificateRequest(P6KMIP_PUT params, p6ICert *pCertificate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a certificate.
Interfaces for wallclock and interval time.
virtual P6R::P6ERR addEncryptRequest(P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the encrypt batch item to the current request message.
P6UINT32 * pMaxResponseSize
virtual P6R::P6ERR addDiscoverVersionsRequest(P6UINT32 itemCount, P6KMIP_VERSION *pVersionList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the discover versions batch item to the current request message.
P6BOOL * pAsynchIndicator
virtual P6R::P6ERR addDeriveKeyRequest(P6KMIP_DERIVEKEY derive, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the derive key batch item to the current request message.
virtual P6R::P6ERR addCheckRequest(P6NCSTR uniqueIdentifier, P6INT64 *pUsageLimitsCount, P6UINT32 *pUsageMask, P6UINT32 *pLeaseTime, P6KMIP_MSGEXTENSION *pExtension)=0
Add the check batch item to the current request message.
virtual P6R::P6ERR addCreateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create batch item to the current response message.
P6KMIP_X509CERTNAME x509certificateSubject
virtual P6R::P6ERR addMACVerifyRequest(P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC verify batch item to the current request message.
P6KMIP_X509CERTID x509certificateIdentifier
const P6R::P6UINT8 KMIP_ATTRIB_INITIALDATE
P6UINT32 * pBatchErrorOption
This interface is used to create / encode the construction of a KMIP response message as defined in K...
P6R Cryptographic key interface definitions.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOUSAGEMASK
virtual P6R::P6ERR addGetOpaqueResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.