Pkcs11Interop  5.1.2
Public Member Functions | Protected Attributes | Properties | List of all members
Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories Class Reference

Factories to be used by Developer and Pkcs11Interop library More...

Public Member Functions

 Pkcs11InteropFactories ()
 Initializes new instance of Pkcs11Factories class with default factories More...
 
 Pkcs11InteropFactories (IPkcs11LibraryFactory pkcs11LibraryFactory, ISlotFactory slotFactory, ISessionFactory sessionFactory, IObjectAttributeFactory objectAttributeFactory, IObjectHandleFactory objectHandleFactory, IMechanismFactory mechanismFactory, IMechanismParamsFactory mechanismParamsFactory)
 Initializes new instance of Pkcs11Factories class with custom or default factories More...
 

Protected Attributes

IPkcs11LibraryFactory _pkcs11LibraryFactory = null
 Factory for creation of IPkcs11Library instances More...
 
ISlotFactory _slotFactory = null
 Factory for creation of ISlot instances More...
 
ISessionFactory _sessionFactory = null
 Factory for creation of ISession instances More...
 
IObjectAttributeFactory _objectAttributeFactory = null
 Factory for creation of IObjectAttribute instances More...
 
IObjectHandleFactory _objectHandleFactory = null
 Factory for creation of IObjectHandle instances More...
 
IMechanismFactory _mechanismFactory = null
 Factory for creation of IMechanism instances More...
 
IMechanismParamsFactory _mechanismParamsFactory = null
 Factory for creation of IMechanismParams instances More...
 

Properties

IPkcs11LibraryFactory Pkcs11LibraryFactory [get]
 Developer uses this factory to create correct IPkcs11Library instances possibly extended with vendor specific methods. More...
 
ISlotFactory SlotFactory [get]
 Pkcs11Interop uses this factory to create ISlot instances possibly extended with vendor specific methods. More...
 
ISessionFactory SessionFactory [get]
 Pkcs11Interop uses this factory to create ISession instances possibly extended with vendor specific methods. More...
 
IObjectAttributeFactory ObjectAttributeFactory [get]
 Developer uses this factory to create correct IObjectAttribute instances. More...
 
IObjectHandleFactory ObjectHandleFactory [get]
 Developer rarely uses this factory to create correct IObjectHandle instances. More...
 
IMechanismFactory MechanismFactory [get]
 Developer uses this factory to create correct IMechanism instances. More...
 
IMechanismParamsFactory MechanismParamsFactory [get]
 Developer uses this factory to create correct IMechanismParams instances. More...
 

Detailed Description

Factories to be used by Developer and Pkcs11Interop library

Constructor & Destructor Documentation

◆ Pkcs11InteropFactories() [1/2]

Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.Pkcs11InteropFactories ( )

Initializes new instance of Pkcs11Factories class with default factories

◆ Pkcs11InteropFactories() [2/2]

Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.Pkcs11InteropFactories ( IPkcs11LibraryFactory  pkcs11LibraryFactory,
ISlotFactory  slotFactory,
ISessionFactory  sessionFactory,
IObjectAttributeFactory  objectAttributeFactory,
IObjectHandleFactory  objectHandleFactory,
IMechanismFactory  mechanismFactory,
IMechanismParamsFactory  mechanismParamsFactory 
)

Initializes new instance of Pkcs11Factories class with custom or default factories

Parameters
pkcs11LibraryFactoryCustom factory for creation of IPkcs11Library instances or null for the default factory
slotFactoryCustom factory for creation of ISlot instances or null for the default factory
sessionFactoryCustom factory for creation of ISession instances or null for the default factory
objectAttributeFactoryCustom factory for creation of IObjectAttribute instances or null for the default factory
objectHandleFactoryCustom factory for creation of IObjectHandle instances or null for the default factory
mechanismFactoryCustom factory for creation of IMechanism instances or null for the default factory
mechanismParamsFactoryCustom factory for creation of IMechanismParams instances or null for the default factory

Member Data Documentation

◆ _mechanismFactory

IMechanismFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._mechanismFactory = null
protected

Factory for creation of IMechanism instances

◆ _mechanismParamsFactory

IMechanismParamsFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._mechanismParamsFactory = null
protected

Factory for creation of IMechanismParams instances

◆ _objectAttributeFactory

IObjectAttributeFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._objectAttributeFactory = null
protected

Factory for creation of IObjectAttribute instances

◆ _objectHandleFactory

IObjectHandleFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._objectHandleFactory = null
protected

Factory for creation of IObjectHandle instances

◆ _pkcs11LibraryFactory

IPkcs11LibraryFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._pkcs11LibraryFactory = null
protected

Factory for creation of IPkcs11Library instances

◆ _sessionFactory

ISessionFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._sessionFactory = null
protected

Factory for creation of ISession instances

◆ _slotFactory

ISlotFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories._slotFactory = null
protected

Factory for creation of ISlot instances

Property Documentation

◆ MechanismFactory

IMechanismFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.MechanismFactory
get

Developer uses this factory to create correct IMechanism instances.

◆ MechanismParamsFactory

IMechanismParamsFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.MechanismParamsFactory
get

Developer uses this factory to create correct IMechanismParams instances.

◆ ObjectAttributeFactory

IObjectAttributeFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.ObjectAttributeFactory
get

Developer uses this factory to create correct IObjectAttribute instances.

◆ ObjectHandleFactory

IObjectHandleFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.ObjectHandleFactory
get

Developer rarely uses this factory to create correct IObjectHandle instances.

◆ Pkcs11LibraryFactory

IPkcs11LibraryFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.Pkcs11LibraryFactory
get

Developer uses this factory to create correct IPkcs11Library instances possibly extended with vendor specific methods.

◆ SessionFactory

ISessionFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.SessionFactory
get

Pkcs11Interop uses this factory to create ISession instances possibly extended with vendor specific methods.

◆ SlotFactory

ISlotFactory Net.Pkcs11Interop.HighLevelAPI.Pkcs11InteropFactories.SlotFactory
get

Pkcs11Interop uses this factory to create ISlot instances possibly extended with vendor specific methods.


The documentation for this class was generated from the following file: