/// <summary> /// Creates parameters for the CKM_TLS12_KEY_AND_MAC_DERIVE mechanism /// </summary> /// <param name="macSizeInBits">The length (in bits) of the MACing keys agreed upon during the protocol handshake phase</param> /// <param name="keySizeInBits">The length (in bits) of the secret keys agreed upon during the protocol handshake phase</param> /// <param name="ivSizeInBits">The length (in bits) of the IV agreed upon during the protocol handshake phase</param> /// <param name="isExport">Flag which must be set to false because export cipher suites must not be used in TLS 1.1 and later</param> /// <param name="randomInfo">Client's and server's random data information</param> /// <param name="prfHashMechanism">Base hash used in the underlying TLS1.2 PRF operation used to derive the master key (CKM)</param> /// <returns>Parameters for the CKM_TLS12_KEY_AND_MAC_DERIVE mechanism</returns> public ICkTls12KeyMatParams CreateCkTls12KeyMatParams(ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, ICkSsl3RandomData randomInfo, ulong prfHashMechanism) { return _factory.CreateCkTls12KeyMatParams(macSizeInBits, keySizeInBits, ivSizeInBits, isExport, randomInfo, prfHashMechanism); }