Helper for incrementally building a SignatureValidationResult during validation.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.DigitalSignatures
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class SignatureValidationResultBuilder
Inheritance: objectSignatureValidationResultBuilder
Constructors
Create a new result builder.
public SignatureValidationResultBuilder()
Methods
Set the certificates used to create the digital signature.
public void BuildCertificates(X509Certificate2Collection certificates)
The collection of X.509 certificates used for signing.
Set the chain elements that describe issues encountered during certificate validation.
public void BuildCertificatesChainElements(X509ChainElementCollection certificatesChainElements)
The collection of X.509 certificate chain elements.
Set the name of the signature form field associated with the result.
public void BuildFieldName(string fieldName)
The name of the signature form field.
Set the hash algorithm OID used to compute the message digest.
public void BuildHashAlgorithm(Oid hashAlgorithm)
The hash algorithm OID.
Set whether the certificate used for signing is valid.
public void BuildIsCertificateValid(bool isCertificateValid)
If set to true, indicates the certificate is valid.
Set whether the document was modified after it was signed.
public void BuildIsDocumentModified(bool isDocumentModified)
If set to true, indicates the document was modified after signing.
Set the signer information (e.g., name or entity) extracted from the signature.
public void BuildSignerInformation(string signerInformation)
The name or identifier of the signer.
Get the constructed signature validation result.
public SignatureValidationResult GetResult()
An instance of the SignatureValidationResult class.