corePKCS11  v3.2.0
PKCS #11 Cryptoki Library
C_GetTokenInfo

Obtains information about a particular token.

CK_DECLARE_FUNCTION( CK_RV, C_GetTokenInfo )( CK_SLOT_ID slotID,
CK_TOKEN_INFO_PTR pInfo )
{
/* Avoid compiler warnings about unused variables. */
( void ) slotID;
( void ) pInfo;
LogWarn( ( "C_GetTokenInfo is not implemented." ) );
return CKR_OK;
}
Parameters
[in]slotIDThis parameter is unused in this port.
[out]pInfoThis parameter is unused in this port.

C_GetTokenInfo() is only implemented for compatibility with other ports. All inputs to this function are ignored, and calling this function on this port does provide any information about the PKCS #11 token.

Returns
CKR_OK.
C_GetTokenInfo
CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
Obtains information about a particular token.
Definition: core_pkcs11_mbedtls.c:1641
LogWarn
#define LogWarn(message)
Macro that is called in the corePKCS11 library for logging "Warning" level messages.
Definition: core_pkcs11_config_defaults.h:335
CK_DECLARE_FUNCTION
#define CK_DECLARE_FUNCTION(returnType, name)
Macro for defining a PKCS #11 functions.
Definition: core_pkcs11.h:75