[−][src]Type Definition pkcs11::functions::C_Sign
type C_Sign = extern "C" fn(hSession: CK_SESSION_HANDLE, pData: CK_BYTE_PTR, ulDataLen: CK_ULONG, pSignature: CK_BYTE_PTR, pulSignatureLen: CK_ULONG_PTR) -> CK_RV;
C_Sign
signs (encrypts with private key) data in a single part, where the signature is (will be) an appendix to the data, and plaintext cannot be recovered from the signature.
Function Parameters
hSession
: the session's handlepData
: the data to signulDataLen
: count of bytes to signpSignature
: gets the signaturepulSignatureLen
: gets signature length