/// <summary> /// Creates parameters for the CKM_TLS_MAC mechanism /// </summary> /// <param name="prfHashMechanism">Hash mechanism used in the TLS12 PRF construct or CKM_TLS_PRF to use with the TLS 1.0 and 1.1 PRF construct (CKM)</param> /// <param name="macLength">Length of the MAC tag required or offered</param> /// <param name="serverOrClient">Should be set to "1" for "server finished" label or to "2" for "client finished" label</param> /// <returns>Parameters for the CKM_TLS_MAC mechanism</returns> public ICkTlsMacParams CreateCkTlsMacParams(ulong prfHashMechanism, ulong macLength, ulong serverOrClient) { return _factory.CreateCkTlsMacParams(prfHashMechanism, macLength, serverOrClient); }