C# (CSharp) Net.Pkcs11Interop.Common Namespace

Classes

Name Description
CK General constants
CKF Bit flags
CKZ Salt/Encoding parameter sources
ConvertUtils Utility class that helps with data type conversions.
ElevatedPermissionsMissingException
LibraryArchitectureException
NativeMethods Imported native methods
Pkcs11Exception
Pkcs11Uri PKCS#11 URI parser
Pkcs11UriBuilder PKCS#11 URI builder

Implementation note: As recommended by PKCS#11 URI specification Pkcs11UriBuilder class percent-encodes the whole value of the "id" attribute which is supposed to be handled as arbitrary binary data. Therefore it is not possible to construct URIs with arbitrary string value of the "id" attribute.

Implementation note: Validation of each individual attribute value is performed by the setter of corresponding Pkcs11UriBuilder class property with the exception to UnknownPathAttributes and UnknownQueryAttributes properties whose values are validated when ToString() or ToPkcs11Uri() method is called.

Pkcs11UriException
Pkcs11UriSharedUtils Utility class connecting PKCS#11 URI and Pkcs11Interop types
Pkcs11UriSpec Definitions from the PKCS#11 URI scheme specification
Platform Utility class for runtime platform detection
UnmanagedException
UnmanagedMemory Utility class that helps to manage unmanaged memory
UnsupportedPlatformException