skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API Functions API Functions
go to previous page: RetrieveCounter RetrieveCounter
go to next page: SignDataSignData
end of book navigation links


RetrieveUniqueId
Library
Description
Return Value
See Also
 Parameters
Notes ON Spi
Errors

NAME

RetrieveUniqueId: CSSM_RetrieveUniqueId, CSP_RetrieveUniqueId - Get identifier (CDSA)

SYNOPSIS  

# include <cssm.h>

API:
CSSM_RETURN CSSMAPI CSSM_RetrieveUniqueId
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID)
SPI:
CSSM_RETURN CSSMCSPI CSP_RetrieveUniqueId
(CSSM_CSP_HANDLE CSPHandle,
CSSM_DATA_PTR UniqueID)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CSPHandle (input)
 The handle that describes the add-in Cryptographic Service Provider module used to perform this function. If a NULL handle is specified, CSSM returns error.
UniqueID (output)
 Pointer to CSSM_DATA structure that contains data that uniquely identifies the cryptographic device.


return to top DESCRIPTION  

This function returns an identifier that could be used to uniquely differentiate the cryptographic device from all other devices from the same vendor or different vendors.


return to top NOTES ON SPI  

The output is returned to the caller as specified in Buffer Management for Cryptographic Services.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.

None specific to this call.


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide


go to previous page: RetrieveCounter RetrieveCounter
go to next page: SignDataSignData