public C_Encrypt ( uint session, byte data, uint dataLen, byte encryptedData, uint &encryptedDataLen ) : CKR | ||
session | uint | The session's handle |
data | byte | Data to be encrypted |
dataLen | uint | Length of data in bytes |
encryptedData | byte | /// If set to null then the length of encrypted data is returned in "encryptedDataLen" parameter, without actually returning encrypted data. /// If not set to null then "encryptedDataLen" parameter must contain the lenght of encryptedData array and encrypted data is returned in "encryptedData" parameter. /// |
encryptedDataLen | uint | Location that holds the length in bytes of the encrypted data |
return | CKR |