/// <summary> /// Creates parameters for the CKM_RSA_PKCS_OAEP mechanism /// </summary> /// <param name='hashAlg'>Mechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter (CKM)</param> /// <param name='mgf'>Mask generation function to use on the encoded block (CKG)</param> /// <param name='source'>Source of the encoding parameter (CKZ)</param> /// <param name='sourceData'>Data used as the input for the encoding parameter source</param> /// <returns>Parameters for the CKM_RSA_PKCS_OAEP mechanism</returns> public ICkRsaPkcsOaepParams CreateCkRsaPkcsOaepParams(ulong hashAlg, ulong mgf, ulong source, byte[] sourceData) { return _factory.CreateCkRsaPkcsOaepParams(hashAlg, mgf, source, sourceData); }