Ejemplo n.º 1
0
        /// <summary>
        /// Converts platform specific MechanismInfo to platfrom neutral MechanismInfo
        /// </summary>
        /// <param name="mechanismInfo">Platform specific MechanismInfo</param>
        internal MechanismInfo(HighLevelAPI41.MechanismInfo mechanismInfo)
        {
            if (mechanismInfo == null)
                throw new ArgumentNullException("mechanismInfo");

            _mechanismInfo41 = mechanismInfo;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute
        /// </summary>
        /// <param name="objectAttribute">Platform specific ObjectAttribute</param>
        internal ObjectAttribute(HighLevelAPI41.ObjectAttribute objectAttribute)
        {
            if (objectAttribute == null)
                throw new ArgumentNullException("objectAttribute");

            _objectAttribute41 = objectAttribute;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Converts platform specific Session to platfrom neutral Session
        /// </summary>
        /// <param name="session">Platform specific Session</param>
        internal Session(HighLevelAPI41.Session session)
        {
            if (session == null)
                throw new ArgumentNullException("session");

            _session41 = session;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Converts platform specific LibraryInfo to platfrom neutral LibraryInfo
        /// </summary>
        /// <param name="libraryInfo">Platform specific LibraryInfo</param>
        internal LibraryInfo(HighLevelAPI41.LibraryInfo libraryInfo)
        {
            if (libraryInfo == null)
                throw new ArgumentNullException("libraryInfo");

            _libraryInfo41 = libraryInfo;
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Converts platform specific Mechanism to platfrom neutral Mechanism
        /// </summary>
        /// <param name="mechanism">Platform specific Mechanism</param>
        internal Mechanism(HighLevelAPI41.Mechanism mechanism)
        {
            if (mechanism == null)
                throw new ArgumentNullException("mechanism");

            _mechanism41 = mechanism;
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the CkOtpParam class.
 /// </summary>
 /// <param name='ckOtpParam'>Platform specific CkOtpParam</param>
 internal CkOtpParam(HighLevelAPI41.MechanismParams.CkOtpParam ckOtpParam)
 {
     if (ckOtpParam == null)
         throw new ArgumentNullException("ckOtpParam");
     
     _params41 = ckOtpParam;
 }
Ejemplo n.º 7
0
        /// <summary>
        /// Converts platform specific SlotFlags to platfrom neutral SlotFlags
        /// </summary>
        /// <param name="slotFlags">Platform specific SlotFlags</param>
        internal SlotFlags(HighLevelAPI41.SlotFlags slotFlags)
        {
            if (slotFlags == null)
                throw new ArgumentNullException("slotFlags");

            _slotFlags41 = slotFlags;
        }
Ejemplo n.º 8
0
        /// <summary>
        /// Initializes a new instance of the CkVersion class.
        /// </summary>
        /// <param name='ckVersion'>Platform specific CkVersion</param>
        internal CkVersion(HighLevelAPI41.MechanismParams.CkVersion ckVersion)
        {
            if (ckVersion == null)
                throw new ArgumentNullException("ckVersion");

            _params41 = ckVersion;
        }
Ejemplo n.º 9
0
        /// <summary>
        /// Converts platform specific SessionFlags to platfrom neutral SessionFlags
        /// </summary>
        /// <param name="sessionFlags">Platform specific SessionFlags</param>
        internal SessionFlags(HighLevelAPI41.SessionFlags sessionFlags)
        {
            if (sessionFlags == null)
                throw new ArgumentNullException("sessionFlags");

            _sessionFlags41 = sessionFlags;
        }
Ejemplo n.º 10
0
        /// <summary>
        /// Converts platform specific SlotInfo to platfrom neutral SlotInfo
        /// </summary>
        /// <param name="slotInfo">Platform specific SlotInfo</param>
        internal SlotInfo(HighLevelAPI41.SlotInfo slotInfo)
        {
            if (slotInfo == null)
                throw new ArgumentNullException("slotInfo");

            _slotInfo41 = slotInfo;
        }
Ejemplo n.º 11
0
        /// <summary>
        /// Converts platform specific Slot to platfrom neutral Slot
        /// </summary>
        /// <param name="slot">Platform specific Slot</param>
        internal Slot(HighLevelAPI41.Slot slot)
        {
            if (slot == null)
                throw new ArgumentNullException("slot");

            _slot41 = slot;
        }
Ejemplo n.º 12
0
        /// <summary>
        /// Converts platform specific ObjectHandle to platfrom neutral ObjectHandle
        /// </summary>
        /// <param name="objectHandle">Platform specific ObjectHandle</param>
        internal ObjectHandle(HighLevelAPI41.ObjectHandle objectHandle)
        {
            if (objectHandle == null)
                throw new ArgumentNullException("objectHandle");

            _objectHandle41 = objectHandle;
        }
Ejemplo n.º 13
0
        /// <summary>
        /// Converts platform specific TokenFlags to platfrom neutral TokenFlags
        /// </summary>
        /// <param name="tokenFlags">Platform specific TokenFlags</param>
        internal TokenFlags(HighLevelAPI41.TokenFlags tokenFlags)
        {
            if (tokenFlags == null)
                throw new ArgumentNullException("tokenFlags");

            _tokenFlags41 = tokenFlags;
        }
Ejemplo n.º 14
0
        /// <summary>
        /// Initializes a new instance of the CkWtlsKeyMatOut class.
        /// </summary>
        /// <param name='ckWtlsKeyMatOut'>Platform specific CkWtlsKeyMatOut</param>
        internal CkWtlsKeyMatOut(HighLevelAPI41.MechanismParams.CkWtlsKeyMatOut ckWtlsKeyMatOut)
        {
            if (ckWtlsKeyMatOut == null)
                throw new ArgumentNullException("ckWtlsKeyMatOut");

            _params41 = ckWtlsKeyMatOut;
        }
Ejemplo n.º 15
0
        /// <summary>
        /// Converts platform specific SessionInfo to platfrom neutral SessionInfo
        /// </summary>
        /// <param name="sessionInfo">Platform specific SessionInfo</param>
        internal SessionInfo(HighLevelAPI41.SessionInfo sessionInfo)
        {
            if (sessionInfo == null)
                throw new ArgumentNullException("sessionInfo");

            _sessionInfo41 = sessionInfo;
        }
Ejemplo n.º 16
0
        /// <summary>
        /// Converts platform specific TokenInfo to platfrom neutral TokenInfo
        /// </summary>
        /// <param name="tokenInfo">Platform specific TokenInfo</param>
        internal TokenInfo(HighLevelAPI41.TokenInfo tokenInfo)
        {
            if (tokenInfo == null)
                throw new ArgumentNullException("tokenInfo");

            _tokenInfo41 = tokenInfo;
        }
Ejemplo n.º 17
0
        /// <summary>
        /// Converts platform specific MechanismFlags to platfrom neutral MechanismFlags
        /// </summary>
        /// <param name="mechanismFlags">Platform specific MechanismFlags</param>
        internal MechanismFlags(HighLevelAPI41.MechanismFlags mechanismFlags)
        {
            if (mechanismFlags == null)
                throw new ArgumentNullException("mechanismFlags");

            _mechanismFlags41 = mechanismFlags;
        }