Exception with the name of PKCS#11 method that failed and its return value
More...
Inherits Exception.
|
string | Method [get] |
| Name of method that caused exception More...
|
|
CKR | RV [get] |
| Return value of method that caused exception More...
|
|
Exception with the name of PKCS#11 method that failed and its return value
◆ Pkcs11Exception() [1/2]
Net.Pkcs11Interop.Common.Pkcs11Exception.Pkcs11Exception |
( |
string |
method, |
|
|
CKR |
rv |
|
) |
| |
Initializes new instance of Pkcs11Exception class
- Parameters
-
method | Name of method that caused exception |
rv | Return value of method that caused exception |
◆ Pkcs11Exception() [2/2]
Net.Pkcs11Interop.Common.Pkcs11Exception.Pkcs11Exception |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
protected |
Initializes new instance of Pkcs11Exception class with serialized data
- Parameters
-
info | SerializationInfo that holds the serialized object data about the exception being thrown |
context | StreamingContext that contains contextual information about the source or destination |
◆ GetObjectData()
override void Net.Pkcs11Interop.Common.Pkcs11Exception.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
Populates a SerializationInfo with the data needed to serialize the target object
- Parameters
-
info | SerializationInfo to populate with data |
context | The destination for this serialization |
◆ Method
string Net.Pkcs11Interop.Common.Pkcs11Exception.Method |
|
get |
Name of method that caused exception
◆ RV
CKR Net.Pkcs11Interop.Common.Pkcs11Exception.RV |
|
get |
Return value of method that caused exception
The documentation for this class was generated from the following file: