def C_WrapKey(mechanism, wrapping_key, wrapped_key, out_size=nil)
      @pk.C_WrapKey(@sess, to_mechanism(mechanism), wrapping_key, wrapped_key, out_size)
    end
def C_WrapKey(mechanism, wrapping_key, wrapped_key, out_size=nil)
      @pk.C_WrapKey(@sess, to_mechanism(mechanism), wrapping_key, wrapped_key, out_size)
    end
Wraps (i.e., encrypts) a private or secret key.

 @param [Hash, Symbol, Integer, PKCS11::CK_MECHANISM] mechanism  used mechanism
 @param [PKCS11::Object] wrapping_key  wrapping key
 @param [PKCS11::Object] wrapped_key  key to wrap
 @return [String]  the encrypted binary data.
 @see Session#C_UnwrapKey
 @example Wrapping a secret key
     wrapped_key_value = session.wrap_key(:DES3_ECB, secret_key, secret_key)
 @example Wrapping a private key
     wrapped_key_value = session.wrap_key({:DES3_CBC_PAD=>"\0"*8}, secret_key, rsa_priv_key)