public C_WrapKey ( ulong session, CK_MECHANISM &mechanism, ulong wrappingKey, ulong key, byte wrappedKey, ulong &wrappedKeyLen ) : CKR | ||
session | ulong | The session's handle |
mechanism | CK_MECHANISM | Wrapping mechanism |
wrappingKey | ulong | The handle of the wrapping key |
key | ulong | The handle of the key to be wrapped |
wrappedKey | byte | /// If set to null then the length of wrapped key is returned in "wrappedKeyLen" parameter, without actually returning wrapped key. /// If not set to null then "wrappedKeyLen" parameter must contain the lenght of wrappedKey array and wrapped key is returned in "wrappedKey" parameter. /// |
wrappedKeyLen | ulong | Location that receives the length of the wrapped key |
return | CKR |