コード例 #1
0
 /// <summary>
 /// Creates parameters for the CKM_GOSTR3410_KEY_WRAP mechanism
 /// </summary>
 /// <param name="wrapOID">Data with DER-encoding of the object identifier indicating the data object type of GOST 28147-89</param>
 /// <param name="ukm">Data with UKM</param>
 /// <param name="key">Key handle of a sender for wrapping operation or key handle of a receiver for unwrapping operation</param>
 /// <returns>Parameters for the CKM_GOSTR3410_KEY_WRAP mechanism</returns>
 public ICkGostR3410KeyWrapParams CreateCkGostR3410KeyWrapParams(byte[] wrapOID, byte[] ukm, ulong key)
 {
     return _factory.CreateCkGostR3410KeyWrapParams(wrapOID, ukm, key);
 }