LIBRARYCommon Security Services Manager library (cdsa$incssm300_shr.exe) API PARAMETERS
CCHandle (input)
The handle that describes the context of this cryptographicoperation used to link to the CSP-managed information.
RemData (output)
A pointer to the CSSM_DATA structure for the lastdecrypted block, if necessary.
SPI PARAMETERS
CSPHandle (input)
The handle that describes the add-in CryptographicService Provider module used to perform calls to CSSM for the memoryfunctions managed by CSSM.
DESCRIPTIONThis function finalizes the staged decryption process by returningany remaining plain text not returned in the previous staged decryptioncall. The plain text is returned in a single buffer. NOTES FOR APIThe output is returned to the caller either by filling thecaller-specified buffer or by using the application's declared memoryallocation functions to allocate buffer space. To specify a specific,pre-allocated output buffer, the caller must provide an array ofone or more CSSM_DATA structures, each containing a Length fieldvalue greater than zero and a non-NULL data pointer field value.To specify automatic output buffer allocation by the CSP, the callermust provide an array of one or more CSSM_DATA structures, each containinga Length field value equal to zero and a NULL data pointer fieldvalue. The application is always responsible for deallocating thememory when it is no longer needed. NOTES FOR SPIThe output is returned to the caller as specified in BufferManagement for Cryptographic Services. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition. ERRORSErrors are described in the CDSA Technical Standard.