SignDoc SDK (.NET with exceptions)
5.0.0
|
Parameters for verifying a certificate chain. More...
Public Member Functions | |
SignDocVerificationParameters () | |
Constructor. More... | |
~SignDocVerificationParameters () | |
Destructor. More... | |
!SignDocVerificationParameters () | |
Finalizer. More... | |
SignDocVerificationParameters | clone () |
Clone this object. More... | |
void | setForUpdateDSS () |
Set suitable values for using this object with SignDocDocument.updateDSS() and SignDocDocument.updateDSS2(). More... | |
void | setString (string aName, string aValue) |
Set a string parameter. More... | |
void | setInteger (string aName, int aValue) |
Set an integer parameter. More... | |
void | setBlob (string aName, byte[] aValue) |
Set a blob parameter. More... | |
string | getErrorMessage () |
Get an error message for the last function call. More... | |
bool | equals (SignDocVerificationParameters aOther) |
Parameters for verifying a certificate chain.
Use getErrorMessage() to get more information after a function call failed.
If you use null instead of a SignDocVerificationParameters object, the following default values will be used (those are identical to the default values for a freshly created SignDocVerificationParameters object):
However, for SignDocDocument.updateDSS() and SignDocDocument.updateDSS2(), the following default values will be used if null is passed (those are identical to the values set by setForUpdateDSS()):
To make the signature maximally meaningful, verification parameters for SignDocDocument.addSignature() should include VerificationFlags.CheckRevocation in integer parameter "VerificationFlags".
If integer parameter "CertificateChainVerificationPolicy" is CertificateChainVerificationPolicy.DontVerify, integer parameter "CertificateRevocationVerificationPolicy" must be CertificateRevocationVerificationPolicy.DontCheck.
Destructor.
Finalizer.
SignDocVerificationParameters clone | ( | ) |
Clone this object.
bool equals | ( | SignDocVerificationParameters | aOther | ) |
string getErrorMessage | ( | ) |
Get an error message for the last function call.
void setBlob | ( | string | aName, |
byte[] | aValue | ||
) |
Set a blob parameter.
Available blob parameters are:
[in] | aName | The name of the parameter (case-sensitive). |
[in] | aValue | The value. |
void setForUpdateDSS | ( | ) |
Set suitable values for using this object with SignDocDocument.updateDSS() and SignDocDocument.updateDSS2().
See SignDocVerificationParameters for the values set by this function.
void setInteger | ( | string | aName, |
int | aValue | ||
) |
Set an integer parameter.
Available integer parameters are:
[in] | aName | The name of the parameter (case-sensitive). |
[in] | aValue | The value of the parameter. |
void setString | ( | string | aName, |
string | aValue | ||
) |
Set a string parameter.
Available string parameters are:
[in] | aName | The name of the parameter (case-sensitive). |
[in] | aValue | The value of the parameter. |