| SignDocVerificationResultverifyCertificateChain Method |
Verify the certificate chain of the signature's certificate.
Use this function to find out if you can trust the identity of the
signer.
getErrorMessage() will return an error message if this function
fails (return value not #rc_ok) or the verification result returned
is not #ccs_ok or getCertificateRevocationState() won't return #crs_ok.
Call getCertificateRevocationState() after this function to get
the revocation state.
This function fails for document time stamps, see getMethod()
and verifyTimeStampCertificateChain().
Namespace: de.softpro.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic CertificateChainState verifyCertificateChain(
SignDocVerificationParameters params
)
Public Function verifyCertificateChain (
params As SignDocVerificationParameters
) As CertificateChainState
public:
CertificateChainState verifyCertificateChain(
SignDocVerificationParameters^ params
)
member verifyCertificateChain :
params : SignDocVerificationParameters -> CertificateChainState
Parameters
- params
- Type: de.softpro.signdocsdkSignDocVerificationParameters
Verification parameters or null for
default parameters.
Return Value
Type:
CertificateChainState The result of the certificate chain verification (#ccs_ok etc.)
See Also