public CKR C_EX_PKCS7VerifyInit(NativeULong session, byte[] cms, ref CK_VENDOR_X509_STORE store, NativeULong mode, NativeULong flags) { if (_disposed) { throw new ObjectDisposedException(GetType().FullName); } NativeULong cmsLength = 0; if (cms != null) { cmsLength = (NativeULong)(cms.Length); } NativeULong rv = _rutokenDelegates.C_EX_PKCS7VerifyInit(session, cms, cmsLength, ref store, mode, flags); return((CKR)rv); }