/// <summary> /// Initializes a new instance of the CkExtractParams class. /// </summary> /// <param name='bit'>Specifies which bit of the base key should be used as the first bit of the derived key</param> public CkExtractParams(ulong bit) { if (Platform.UnmanagedLongSize == 4) { if (Platform.StructPackingSize == 0) { _params40 = new HighLevelAPI40.MechanismParams.CkExtractParams(Convert.ToUInt32(bit)); } else { _params41 = new HighLevelAPI41.MechanismParams.CkExtractParams(Convert.ToUInt32(bit)); } } else { if (Platform.StructPackingSize == 0) { _params80 = new HighLevelAPI80.MechanismParams.CkExtractParams(bit); } else { _params81 = new HighLevelAPI81.MechanismParams.CkExtractParams(bit); } } }
/// <summary> /// Initializes a new instance of the CkExtractParams class. /// </summary> /// <param name='bit'>Specifies which bit of the base key should be used as the first bit of the derived key</param> public CkExtractParams(ulong bit) { if (Platform.UnmanagedLongSize == 4) { if (Platform.StructPackingSize == 0) _params40 = new HighLevelAPI40.MechanismParams.CkExtractParams(Convert.ToUInt32(bit)); else _params41 = new HighLevelAPI41.MechanismParams.CkExtractParams(Convert.ToUInt32(bit)); } else { if (Platform.StructPackingSize == 0) _params80 = new HighLevelAPI80.MechanismParams.CkExtractParams(bit); else _params81 = new HighLevelAPI81.MechanismParams.CkExtractParams(bit); } }