public CKR C_EX_WrapKey(NativeULong session,
            ref CK_MECHANISM generationMechanism,
            CK_ATTRIBUTE[] keyTemplate, NativeULong keyAttributeCount,
            ref CK_MECHANISM derivationMechanism,
            NativeULong baseKey,
            ref CK_MECHANISM wrappingMechanism,
            byte[] wrappedKey, ref NativeULong wrappedKeyLen, ref NativeULong key)
        {
            if (_disposed)
                throw new ObjectDisposedException(GetType().FullName);

            NativeULong rv = _rutokenDelegates.C_EX_WrapKey(session,
                ref generationMechanism,
                keyTemplate, keyAttributeCount,
                ref derivationMechanism,
                baseKey,
                ref wrappingMechanism,
                wrappedKey, ref wrappedKeyLen, ref key);

            return (CKR)rv;
        }