5. Метод MrCheckSignWithCert
|
|
This method verifies an E-signature using defined certificate(s) and returns CheckSgnInfo object (see 16. Класс CheckSngInfo).
CheckSgnInfo MrCheckSignWithCert(string content, string sgn_content, PublicKeysArray pub_keys)
| |
Content
|
signed data without E-signature
|
sgn_content
|
A E-signature of the data
|
pub_keys
|
public key(s) of digital certificate(s) for encryption in PublicKeysArray object
|
A returning CheckSngInfo object contains:
•
|
a result of verification: valid or invalid, including all errors and its reasons;
|
•
|
a digital certificate data (serial number and thumbprint) of E-signature;
|
•
|
date/time stamp of the E-signature creation.
|