def unwrapKey(self, unwrappingKey, wrappedKey, template,<EOL>mecha=MechanismRSAPKCS1):
m = mecha.to_native()<EOL>data1 = ckbytelist(wrappedKey)<EOL>handle = PyKCS11.LowLevel.CK_OBJECT_HANDLE()<EOL>attrs = self._template2ckattrlist(template)<EOL>rv = self.lib.C_UnwrapKey(self.session, m, unwrappingKey,<EOL>data1, attrs, handle)<EOL>if rv != CKR_OK:<EOL><INDENT>raise PyKCS11Error(rv)<EOL><DEDENT>return handle<EOL>
C_UnwrapKey

:param unwrappingKey: the unwrapping key handle
:type unwrappingKey: integer
:param wrappedKey: the bytes of the wrapped key
:type wrappedKey:  (binary) string or list/tuple of bytes
:param template: template for the unwrapped key
:param mecha: the decrypt mechanism to be used (use
  `MechanismRSAPKCS1` for `CKM_RSA_PKCS`)
:type mecha: :class:`Mechanism`
:return: the unwrapped key object
:rtype: integer