Discuss this help topic in SecureBlackbox Forum
This method verifies digitally signed data when the signature is detached.
Declaration
Parameters
- Buffer (InBuffer) - Pointer to the original data buffer
- InStartIndex - Starting index of the data to be verified in the InBuffer.
- Size - Size of input data in bytes
- Signature (SigBuffer) - Pointer to buffer with the digital signature in PKCS#7 format
- SigStartIndex - Starting index of the resulting data in the SigBuffer.
- SignatureSize (SigSize) - Size of Signature parameter in bytes
- InStream - Stream with data to be verified.
- InCount - Number of bytes to be read from InStream.If this parameter is 0 the data is read till the end of the stream.
Default value is 0.
- SigStream - Stream with the signature.
- SigCount - Number of bytes to be read from SigStream.If this parameter is 0 the data is read till the end of the stream.
Default value is 0.
- Buffer - ...
- Size - ...
- Signature - ...
- SignatureSize - ...
Return value
0 if the verification process was completed successfully, and an error code otherwise.
Possible values:
Description
Use this method to verify the detached digital signature for a message.
Signature should be presented in PKCS#7 format.
Message is validated using certificates which it contains. If message does not contain the
appropriate certificate, certificates from
CertStorage
are used.
Check
Certificates
property after calling this method to get certificates which are included in message.
Discuss this help topic in SecureBlackbox Forum