![]() |
TrustCore SDK NanoTAP API reference
version 3.0
|
Trust Anchor Platform (TAP) Client APIs. More...
Go to the source code of this file.
Functions | |
MOC_EXTERN MSTATUS | TAP_allocatePolicyStorage (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_StorageInfo *pStorageInfo, TAP_ObjectAttributes *pAttributes, TAP_CredentialList *pStorageCredentials, TAP_ErrorContext *pErrContext) |
Function to configure a new policy authenticated storage location. More... | |
MOC_EXTERN MSTATUS | TAP_associateCredentialWithContext (TAP_Context *pTapContext, TAP_EntityCredentialList *pModuleCredentials, TAP_AttributeList *pAttributes, TAP_ErrorContext *pErrContext) |
Function to associate a credential with a previously initialized TAP context. More... | |
MOC_EXTERN MSTATUS | TAP_associateCredentialWithObject (TAP_OBJECT_TYPE objType, void *pObject, TAP_EntityCredentialList *pObjectCredentials, TAP_ErrorContext *pErrContext) |
Function to associate a credential with a previously initialized TAP context. More... | |
MOC_EXTERN MSTATUS | TAP_asymDecrypt (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_ENC_SCHEME encScheme, TAP_Buffer *pCipherText, TAP_Buffer *pPlainText, TAP_ErrorContext *pErrContext) |
Function to decrypt data using an asymmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_asymEncrypt (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_OP_EXEC_FLAG opExecFlag, TAP_ENC_SCHEME encScheme, TAP_Buffer *pPlainText, TAP_Buffer *pCipherText, TAP_ErrorContext *pErrContext) |
Function to encrypt data using an asymmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_asymGenerateKey (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_KeyInfo *pKeyInfo, TAP_AttributeList *pKeyAttributes, TAP_CredentialList *pKeyCredentials, TAP_Key **ppTapKey, TAP_ErrorContext *pErrContext) |
Function to generate an asymmetric key using underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_asymSign (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SIG_SCHEME sigScheme, byteBoolean isDataNotDigest, TAP_Buffer *pInData, TAP_Signature *pSignature, TAP_ErrorContext *pErrContext) |
Function to sign data using an asymmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_asymSignEx (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SignatureInfo *pSigInfo, TAP_Buffer *pInData, TAP_Signature *pSignature, TAP_ErrorContext *pErrContext) |
Function to sign data using an asymmetric key with padding done in software. More... | |
MOC_EXTERN MSTATUS | TAP_asymVerifySignature (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_OP_EXEC_FLAG opExecFlag, TAP_SIG_SCHEME sigScheme, TAP_Buffer *pInDigest, TAP_Signature *pSignature, byteBoolean *pIsSigValid, TAP_ErrorContext *pErrContext) |
Function to verify the signature of input buffer with the specified hash algorithm. More... | |
MOC_EXTERN MSTATUS | TAP_copyKey (TAP_Key **ppNewKey, TAP_Key *pSrcKey) |
Function to copy a TAP_Key created by TAP_asymGenerateKey or TAP_symGenerateKey. More... | |
MOC_EXTERN MSTATUS | TAP_deserializeKey (TAP_Buffer *pSerializedKeyBuffer, TAP_Key **ppTapKey, TAP_ErrorContext *pErrContext) |
Function to deserialize a TAP_Key. More... | |
MOC_EXTERN MSTATUS | TAP_deserializeObject (TAP_Buffer *pSerializedObjectBuffer, TAP_OBJECT_TYPE *pObjectType, void **ppObject, TAP_ErrorContext *pErrContext) |
Function to deserialize a TAP_Object. More... | |
MOC_EXTERN MSTATUS | TAP_DP_fingerprintCallback (FingerprintElement **ppElements, ubyte4 *pNumElements, void *pArg) |
Callback implementation that will extend the existing device global fingerprint with one dependent on the TAP root public key. More... | |
MOC_EXTERN MSTATUS | TAP_DP_freeFingerprintCallback (FingerprintElement **ppElements, ubyte4 numElements, void *pArg) |
Callback implementation that will zero and free the device global fingerprint. More... | |
MOC_EXTERN MSTATUS | TAP_DP_seedCallback (ubyte *pSeedBuffer, ubyte4 *pSeedLen, void *pArg) |
Callback implementation that could be used to extend the device specific seed calculations. More... | |
MOC_EXTERN MSTATUS | TAP_evictObject (TAP_Context *pTapContext, TAP_Buffer *pObjectId, TAP_AttributeList *pAttributes, TAP_ErrorContext *pErrContext) |
Function to unpersist a previously created and persistent key using underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_exportDuplicateKey (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_Buffer *pInPeerPublic, TAP_Buffer *pOutDuplicate, TAP_ErrorContext *pErrContext) |
Function to duplicate an asymmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_freeAttributeList (TAP_AttributeList *pAttributes, TAP_ErrorContext *pErrContext) |
Function to free a TAP_AttributeList. More... | |
MOC_EXTERN MSTATUS | TAP_freeErrorInfo (TAP_Error *pError) |
Function to free the error structure returned by TAP_getLastErrorInfo. More... | |
MOC_EXTERN MSTATUS | TAP_freeKey (TAP_Key **ppKey) |
Function to free a TAP_Key created by TAP_asymGenerateKey or TAP_symGenerateKey. More... | |
MOC_EXTERN MSTATUS | TAP_freeModuleList (TAP_ModuleList *pModuleList) |
Function to free a list of modules. More... | |
MOC_EXTERN MSTATUS | TAP_freeObject (TAP_OBJECT_TYPE objectType, void **ppObject) |
Function to free a TAP_Object or a TAP_StorageObject. More... | |
MOC_EXTERN MSTATUS | TAP_freePolicyStorage (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_StorageInfo *pStorageInfo, TAP_ErrorContext *pErrContext) |
Function to unconfigure a policy authenticated storage location. More... | |
MOC_EXTERN MSTATUS | TAP_freeSignature (TAP_Signature *pSignature) |
Function to free a TAP_Signature. More... | |
MOC_EXTERN MSTATUS | TAP_generateObject (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pObjectAttributes, TAP_CredentialList *pObjectCredentials, TAP_OBJECT_TYPE *pObjectType, void **ppObject, TAP_ErrorContext *pErrContext) |
Function to generate an object. More... | |
MOC_EXTERN MSTATUS | TAP_getCertificateRequestValidationAttrs (TAP_Key *pTapKey, TAP_CSRAttributes *pCSRattributes, TAP_Blob *pBlob, TAP_ErrorContext *pErrContext) |
This API is used in the privacy CA protocol of generating and activating a credential for an attestation key. More... | |
MOC_EXTERN MSTATUS | TAP_getLastErrorInfo (TAP_Context *pTapContext, TAP_Error *pError) |
Function to obtain a the last module-specific error(s) for the given module. More... | |
MOC_EXTERN MSTATUS | TAP_getModuleCapability (TAP_Module *pModule, TAP_ModuleCapPropertyAttributes *pCapPropertySelection, TAP_ModuleCapPropertyList *pModuleCapProperties, TAP_ErrorContext *pErrContext) |
Function to return information and capabilities of the specified module. More... | |
MOC_EXTERN MSTATUS | TAP_getModuleCredentials (TAP_Module *pModule, const char *pConfigFile, byteBoolean useSpecifiedConfigFilePath, TAP_EntityCredentialList **ppEntityCredentialList, TAP_ErrorContext *pErrContext) |
Function to get Module credentials from the credentials file. More... | |
MOC_EXTERN MSTATUS | TAP_getModuleInfo (TAP_Module *pModule, TAP_AttributeList *pCapabilitySelection, TAP_AttributeList *pModuleCapabilities, TAP_ErrorContext *pErrContext) |
Function to return information and capabilities of the specified module. More... | |
MOC_EXTERN MSTATUS | TAP_getModuleList (TAP_ConnectionInfo *pConnInfo, TAP_PROVIDER provider, TAP_ModuleCapabilityAttributes *pCapabilityAttributes, TAP_ModuleList *pModuleList, TAP_ErrorContext *pErrContext) |
Function to return a list of available modules. More... | |
MOC_EXTERN MSTATUS | TAP_getModuleVersionInfo (TAP_Module *pModule, TAP_AttributeList *pModuleInfo, TAP_ErrorContext *pErrContext) |
Function to return information about the specified module. More... | |
MOC_EXTERN MSTATUS | TAP_getPolicyStorage (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_ObjectInfo *pObjectInfo, TAP_OperationAttributes *pOpAttributes, TAP_Buffer *pOutData, TAP_ErrorContext *pErrContext) |
Function to read contents of the specified policy authenticated storage location. More... | |
MOC_EXTERN MSTATUS | TAP_getPolicyStorageDetails (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_PolicyStorageAttributes *pAttributes, TAP_ObjectInfoList *pObjectInfoList, TAP_StorageObjectList *pDetailsList, TAP_ErrorContext *pErrContext) |
Function to return information about policy authenticated storage location(s) and the details associated with the location(s). More... | |
MOC_EXTERN MSTATUS | TAP_getPolicyStorageList (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_PolicyStorageAttributes *pAttributes, TAP_ObjectInfoList *pObjectInfoList, TAP_ErrorContext *pErrContext) |
Function to return a list of policy authenticated storage locations. More... | |
MOC_EXTERN MSTATUS | TAP_getProviderList (TAP_ConnectionInfo *pConnInfo, TAP_ProviderList *pProviderList, TAP_ErrorContext *pErrContext) |
Function to return a list of available providers. More... | |
MOC_EXTERN MSTATUS | TAP_getQuote (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_TRUSTED_DATA_TYPE dataType, TAP_TrustedDataInfo *pDataInfo, TAP_Buffer *pQualifyingData, TAP_AttributeList *pAttributes, TAP_Blob *pAttestationData, TAP_Signature *pSignature, TAP_ErrorContext *pErrContext) |
Function to obtain a quote for attestation. More... | |
MOC_EXTERN MSTATUS | TAP_getRandom (TAP_Context *pTapContext, ubyte4 bytesRequested, TAP_AttributeList *pAttributes, TAP_Buffer *pData, TAP_ErrorContext *pErrContext) |
Function to get a random number from the underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_getRootOfTrustCertificate (TAP_Context *pTapContext, TAP_ObjectInfo *pRotInfo, TAP_ROOT_OF_TRUST_TYPE type, TAP_Blob *pCertificate, TAP_ErrorContext *pErrContext) |
This API can be used to retrieve the Root of Trust certificate from the secure element. More... | |
MOC_EXTERN MSTATUS | TAP_getRootOfTrustKey (TAP_Context *pTapContext, TAP_KeyInfo *pRotKeyInfo, TAP_ROOT_OF_TRUST_TYPE type, TAP_Key **ppRotKey, TAP_ErrorContext *pErrContext) |
This API can be used to retrieve the Root of Trust key. More... | |
MOC_EXTERN MSTATUS | TAP_getRootOfTrustPublicKeyBlob (TAP_Context *pTapContext, TAP_ObjectId objectId, TAP_ROOT_OF_TRUST_TYPE type, TAP_Buffer *pPubKey, TAP_ErrorContext *pErrContext) |
This API can be used to retrieve the Root of Trust key from TPM in Digicert internal blob format. More... | |
MOC_EXTERN MSTATUS | TAP_getTapInfo (TAP_Context *pCtx, ubyte4 *pProviderType, ubyte4 *pModuleId) |
Function to obtain the providerType and moduleId from a tap context. More... | |
MOC_EXTERN MSTATUS | TAP_getTrustedData (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_TRUSTED_DATA_TYPE dataType, TAP_TrustedDataInfo *pDataInfo, TAP_Buffer *pTrustedData, TAP_ErrorContext *pErrContext) |
Function to read trusted data. More... | |
MOC_EXTERN MSTATUS | TAP_importDuplicateKey (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_KeyInfo *pKeyInfo, TAP_Buffer *pDuplicateBuf, TAP_AttributeList *pKeyAttributes, TAP_CredentialList *pKeyCredentials, TAP_Key **ppTapKey, TAP_ErrorContext *pErrContext) |
Function to import an asymmetric key using underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_init (TAP_ConfigInfoList *pConfigInfo, TAP_ErrorContext *pErrContext) |
Function to initialize the TAP abstraction layer. More... | |
MOC_EXTERN MSTATUS | TAP_initContext (TAP_Module *pModule, TAP_EntityCredentialList *pModuleCredentials, TAP_AttributeList *pAttributes, TAP_Context **ppTapContext, TAP_ErrorContext *pErrContext) |
Function to initialize a TAP context to a specific module. More... | |
MOC_EXTERN MSTATUS | TAP_initObject (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_ObjectInfo *pObjectInfo, TAP_AttributeList *pObjectAttributes, TAP_OBJECT_TYPE *pObjectType, void **ppObject, TAP_ErrorContext *pErrContext) |
Function to prepare a persistent object for use. More... | |
MOC_EXTERN MSTATUS | TAP_isModuleProvisioned (TAP_Module *pModule, byteBoolean *pIsProvisioned, TAP_ErrorContext *pErrContext) |
Function to verify if underlying security module has been initialized. More... | |
MOC_EXTERN MSTATUS | TAP_loadKey (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_Key *pTapKey, TAP_CredentialList *pKeyCredentials, TAP_AttributeList *pAttributes, TAP_ErrorContext *pErrContext) |
Function to prepare a TAP_Key for use. More... | |
MOC_EXTERN MSTATUS | TAP_loadObject (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_OBJECT_TYPE objectType, void *pObject, TAP_CredentialList *pObjectCredentials, TAP_AttributeList *pAttributes, TAP_ErrorContext *pErrContext) |
Function to prepare a TAP_Object for use. More... | |
MOC_EXTERN MSTATUS | TAP_persistObject (TAP_Context *pTapContext, TAP_Key *pTapKey, TAP_Buffer *pObjectId, TAP_ErrorContext *pErrContext) |
Function to persist a previously created key using underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_provisionModule (TAP_Context *pTapContext, TAP_CredentialList *pUsageCredentials, TAP_ModuleProvisionAttributes *pAttributes, TAP_ErrorContext *pErrContext) |
Function to provision a module. More... | |
MOC_EXTERN MSTATUS | TAP_sealWithTrustedData (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_OBJECT_TYPE objectType, void *pObject, TAP_CredentialList *pObjectCredentials, TAP_SealAttributes *pSealAttributes, TAP_Buffer *pDataToSeal, TAP_Buffer *pSealedData, TAP_ErrorContext *pErrContext) |
Function to seal data using measured storage. More... | |
MOC_EXTERN MSTATUS | TAP_selfTest (TAP_Context *pTapContext, TAP_TestRequestAttributes *pRequestAttributes, TAP_TestResponseAttributes *pResponseAttributes, TAP_ErrorContext *pErrContext) |
Function to start selftest on the security module. More... | |
MOC_EXTERN MSTATUS | TAP_serializeKey (TAP_Key *pTapKey, TAP_BLOB_FORMAT format, TAP_BLOB_ENCODING encoding, TAP_Buffer *pSerializedKeyBuffer, TAP_ErrorContext *pErrContext) |
Function to serialize a TAP_Key. More... | |
MOC_EXTERN MSTATUS | TAP_serializeObject (TAP_OBJECT_TYPE objectType, void *pObject, TAP_BLOB_FORMAT format, TAP_BLOB_ENCODING encoding, TAP_Buffer *pSerializedObjectBuffer, TAP_ErrorContext *pErrContext) |
Function to serialize a TAP_Object. More... | |
MOC_EXTERN void | TAP_setGlobalDeferredTokenUnload (ubyte defer) |
Function to set the global deferred token unload flag. More... | |
MOC_EXTERN MSTATUS | TAP_setPolicyStorage (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_ObjectInfo *pObjectInfo, TAP_OperationAttributes *pOpAttributes, TAP_Buffer *pInData, TAP_ErrorContext *pErrContext) |
Function to write data to specified policy authenticated storage location. More... | |
MOC_EXTERN MSTATUS | TAP_stirRandom (TAP_Context *pTapContext, ubyte4 numBytes, TAP_RngAttributes *pAttributes, TAP_Buffer *pEntropy, TAP_ErrorContext *pErrContext) |
Function to stir the entropy of the random number generator of the underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_symDecrypt (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pIV, TAP_Buffer *pCipherText, TAP_Buffer *pPlainText, TAP_ErrorContext *pErrContext) |
Function to decrypt data using a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symDecryptFinal (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pCipherText, TAP_ErrorContext *pErrContext) |
Function to finalize an internal context that was created for decryption. More... | |
MOC_EXTERN MSTATUS | TAP_symDecryptInit (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pIV, TAP_ErrorContext *pErrContext) |
Function to initialize an internal context for decryption via a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symDecryptUpdate (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pCipherText, TAP_Buffer *pPlainText, TAP_ErrorContext *pErrContext) |
Function to decrypt data using a previously initialized internal context. More... | |
MOC_EXTERN MSTATUS | TAP_symEncrypt (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pIV, TAP_Buffer *pPlainText, TAP_Buffer *pCipherText, TAP_ErrorContext *pErrContext) |
Function to encrypt data using a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symEncryptFinal (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pCipherText, TAP_ErrorContext *pErrContext) |
Function to finalize an internal context that was created for encryption. More... | |
MOC_EXTERN MSTATUS | TAP_symEncryptInit (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pIV, TAP_ErrorContext *pErrContext) |
Function to initialize an internal context for encryption via a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symEncryptUpdate (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_SYM_KEY_MODE symMode, TAP_Buffer *pPlainText, TAP_Buffer *pCipherText, TAP_ErrorContext *pErrContext) |
Function to encrypt data using a previously initialized internal context. More... | |
MOC_EXTERN MSTATUS | TAP_symGenerateKey (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_KeyInfo *pKeyInfo, TAP_AttributeList *pKeyAttributes, TAP_CredentialList *pKeyCredentials, TAP_Key **ppTapKey, TAP_ErrorContext *pErrContext) |
Function to generate a symmetric key using underlying security module. More... | |
MOC_EXTERN MSTATUS | TAP_symSign (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, byteBoolean isDataNotDigest, TAP_Buffer *pInData, TAP_Signature *pSignature, TAP_ErrorContext *pErrContext) |
Function to sign data using a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symSignFinal (TAP_Key *pTapKey, TAP_Signature *pSignature, TAP_ErrorContext *pErrContext) |
Method to finalize a symmetric key signature routine. More... | |
MOC_EXTERN MSTATUS | TAP_symSignInit (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_ErrorContext *pErrContext) |
Method to initialize the signing operation using a symmetric key. More... | |
MOC_EXTERN MSTATUS | TAP_symSignUpdate (TAP_Key *pTapKey, TAP_Buffer *pInData, TAP_ErrorContext *pErrContext) |
Method to update the state with input data for a symmetric key signature routine. More... | |
MOC_EXTERN MSTATUS | TAP_symVerifySignature (TAP_Key *pTapKey, TAP_EntityCredentialList *pUsageCredentials, TAP_AttributeList *pOpAttributes, TAP_Buffer *pInDigest, TAP_Signature *pSignature, byteBoolean *pIsSigValid, TAP_ErrorContext *pErrContext) |
Function to verify the signature of input buffer with the specified hash algorithm. More... | |
MOC_EXTERN MSTATUS | TAP_uninit (TAP_ErrorContext *pErrContext) |
Function to uninitialize the TAP abstraction layer. More... | |
MOC_EXTERN MSTATUS | TAP_uninitContext (TAP_Context **ppTapContext, TAP_ErrorContext *pErrContext) |
Function to uninitialize a TAP context. More... | |
MOC_EXTERN MSTATUS | TAP_uninitToken (TAP_Context *pTapCtx, TAP_TokenHandle tokenHandle) |
Function to unloads the internal SMP token. More... | |
MOC_EXTERN MSTATUS | TAP_unloadKey (TAP_Key *pTapKey, TAP_ErrorContext *pErrContext) |
Function to unload a TAP_Key. More... | |
MOC_EXTERN MSTATUS | TAP_unloadObject (TAP_OBJECT_TYPE objectType, void *pObject, TAP_ErrorContext *pErrContext) |
Function to unload a TAP_Object. More... | |
MOC_EXTERN MSTATUS | TAP_unloadSmpKey (TAP_Context *pTapCtx, TAP_TokenHandle tokenHandle, TAP_KeyHandle keyHandle) |
Function to unloads the internal SMP key or key handle associated originally with a TAP key. More... | |
MOC_EXTERN MSTATUS | TAP_unsealWithTrustedData (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_OBJECT_TYPE objectType, void *pObject, TAP_SealAttributes *pUnsealAttributes, TAP_Buffer *pSealedData, TAP_Buffer *pUnsealedData, TAP_ErrorContext *pErrContext) |
Function to unseal data. More... | |
MOC_EXTERN MSTATUS | TAP_unwrapKeyValidatedSecret (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_Key *pTapKey, TAP_Key *pRoTKey, TAP_Blob *pBlob, TAP_Buffer *pSecret, TAP_ErrorContext *pErrContext) |
This API can be used to recover the secret wrapped by a credential provider. More... | |
MOC_EXTERN MSTATUS | TAP_updateTrustedData (TAP_Context *pTapContext, TAP_EntityCredentialList *pUsageCredentials, TAP_TRUSTED_DATA_TYPE dataType, TAP_TrustedDataInfo *pDataInfo, TAP_TRUSTED_DATA_OPERATION operation, TAP_Buffer *pInData, TAP_Buffer *pOutData, TAP_ErrorContext *pErrContext) |
Function to update trusted data. More... | |
This file contains the Digicert Trust Anchor Platform (TAP) Client APIs
This file requires that the following flags be defined:
__ENABLE_MOCANA_TAP__
Whether the following flags are defined determines whether or not support is enabled for a particular security module:
__ENABLE_MOCANA_TPM2__
Copyright (c) Digicert Corp 2018. All Rights Reserved. Proprietary and Confidential Material.