public C_Encrypt ( ulong session, byte data, ulong dataLen, byte encryptedData, ulong &encryptedDataLen ) : CKR | ||
session | ulong | The session's handle |
data | byte | Data to be encrypted |
dataLen | ulong | 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 | ulong | Location that holds the length in bytes of the encrypted data |
리턴 | CKR |