/// <summary> /// Converts platform specific MechanismInfo to platfrom neutral MechanismInfo /// </summary> /// <param name="mechanismInfo">Platform specific MechanismInfo</param> internal MechanismInfo(HighLevelAPI81.MechanismInfo mechanismInfo) { if (mechanismInfo == null) throw new ArgumentNullException("mechanismInfo"); _mechanismInfo81 = mechanismInfo; }
/// <summary> /// Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute /// </summary> /// <param name="objectAttribute">Platform specific ObjectAttribute</param> internal ObjectAttribute(HighLevelAPI81.ObjectAttribute objectAttribute) { if (objectAttribute == null) throw new ArgumentNullException("objectAttribute"); _objectAttribute81 = objectAttribute; }
/// <summary> /// Converts platform specific Session to platfrom neutral Session /// </summary> /// <param name="session">Platform specific Session</param> internal Session(HighLevelAPI81.Session session) { if (session == null) throw new ArgumentNullException("session"); _session81 = session; }
/// <summary> /// Converts platform specific LibraryInfo to platfrom neutral LibraryInfo /// </summary> /// <param name="libraryInfo">Platform specific LibraryInfo</param> internal LibraryInfo(HighLevelAPI81.LibraryInfo libraryInfo) { if (libraryInfo == null) throw new ArgumentNullException("libraryInfo"); _libraryInfo81 = libraryInfo; }
/// <summary> /// Converts platform specific Mechanism to platfrom neutral Mechanism /// </summary> /// <param name="mechanism">Platform specific Mechanism</param> internal Mechanism(HighLevelAPI81.Mechanism mechanism) { if (mechanism == null) throw new ArgumentNullException("mechanism"); _mechanism81 = mechanism; }
/// <summary> /// Initializes a new instance of the CkOtpParam class. /// </summary> /// <param name='ckOtpParam'>Platform specific CkOtpParam</param> internal CkOtpParam(HighLevelAPI81.MechanismParams.CkOtpParam ckOtpParam) { if (ckOtpParam == null) throw new ArgumentNullException("ckOtpParam"); _params81 = ckOtpParam; }
/// <summary> /// Converts platform specific SlotFlags to platfrom neutral SlotFlags /// </summary> /// <param name="slotFlags">Platform specific SlotFlags</param> internal SlotFlags(HighLevelAPI81.SlotFlags slotFlags) { if (slotFlags == null) throw new ArgumentNullException("slotFlags"); _slotFlags81 = slotFlags; }
/// <summary> /// Initializes a new instance of the CkVersion class. /// </summary> /// <param name='ckVersion'>Platform specific CkVersion</param> internal CkVersion(HighLevelAPI81.MechanismParams.CkVersion ckVersion) { if (ckVersion == null) throw new ArgumentNullException("ckVersion"); _params81 = ckVersion; }
/// <summary> /// Converts platform specific SessionFlags to platfrom neutral SessionFlags /// </summary> /// <param name="sessionFlags">Platform specific SessionFlags</param> internal SessionFlags(HighLevelAPI81.SessionFlags sessionFlags) { if (sessionFlags == null) throw new ArgumentNullException("sessionFlags"); _sessionFlags81 = sessionFlags; }
/// <summary> /// Converts platform specific SlotInfo to platfrom neutral SlotInfo /// </summary> /// <param name="slotInfo">Platform specific SlotInfo</param> internal SlotInfo(HighLevelAPI81.SlotInfo slotInfo) { if (slotInfo == null) throw new ArgumentNullException("slotInfo"); _slotInfo81 = slotInfo; }
/// <summary> /// Converts platform specific Slot to platfrom neutral Slot /// </summary> /// <param name="slot">Platform specific Slot</param> internal Slot(HighLevelAPI81.Slot slot) { if (slot == null) throw new ArgumentNullException("slot"); _slot81 = slot; }
/// <summary> /// Converts platform specific ObjectHandle to platfrom neutral ObjectHandle /// </summary> /// <param name="objectHandle">Platform specific ObjectHandle</param> internal ObjectHandle(HighLevelAPI81.ObjectHandle objectHandle) { if (objectHandle == null) throw new ArgumentNullException("objectHandle"); _objectHandle81 = objectHandle; }
/// <summary> /// Converts platform specific TokenFlags to platfrom neutral TokenFlags /// </summary> /// <param name="tokenFlags">Platform specific TokenFlags</param> internal TokenFlags(HighLevelAPI81.TokenFlags tokenFlags) { if (tokenFlags == null) throw new ArgumentNullException("tokenFlags"); _tokenFlags81 = tokenFlags; }
/// <summary> /// Initializes a new instance of the CkWtlsKeyMatOut class. /// </summary> /// <param name='ckWtlsKeyMatOut'>Platform specific CkWtlsKeyMatOut</param> internal CkWtlsKeyMatOut(HighLevelAPI81.MechanismParams.CkWtlsKeyMatOut ckWtlsKeyMatOut) { if (ckWtlsKeyMatOut == null) throw new ArgumentNullException("ckWtlsKeyMatOut"); _params81 = ckWtlsKeyMatOut; }
/// <summary> /// Converts platform specific SessionInfo to platfrom neutral SessionInfo /// </summary> /// <param name="sessionInfo">Platform specific SessionInfo</param> internal SessionInfo(HighLevelAPI81.SessionInfo sessionInfo) { if (sessionInfo == null) throw new ArgumentNullException("sessionInfo"); _sessionInfo81 = sessionInfo; }
/// <summary> /// Converts platform specific TokenInfo to platfrom neutral TokenInfo /// </summary> /// <param name="tokenInfo">Platform specific TokenInfo</param> internal TokenInfo(HighLevelAPI81.TokenInfo tokenInfo) { if (tokenInfo == null) throw new ArgumentNullException("tokenInfo"); _tokenInfo81 = tokenInfo; }
/// <summary> /// Converts platform specific MechanismFlags to platfrom neutral MechanismFlags /// </summary> /// <param name="mechanismFlags">Platform specific MechanismFlags</param> internal MechanismFlags(HighLevelAPI81.MechanismFlags mechanismFlags) { if (mechanismFlags == null) throw new ArgumentNullException("mechanismFlags"); _mechanismFlags81 = mechanismFlags; }