New to Telerik Document ProcessingStart a free 30-day trial

Base infrastructure for signature validation handlers, providing byte-range hashing and certificate checks.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.DigitalSignatures

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public abstract class SignatureValidationHandlerBase

Inheritance: objectSignatureValidationHandlerBase

Derived Classes: Pkcs1Pkcs7Pkcs7Detached

Constructors

Create a base handler for signature validation.

C#
public SignatureValidationHandlerBase()

Methods

Gets the byte array over which the hash should be computed.

C#
protected byte[] GetByteArrayCompositionForHash()
Returns:

byte[]

When overridden in a derived class, validates the digital signature.

C#
protected abstract SignatureValidationResult ValidateOverride(SignatureDataProperties dataProperties, SignatureValidationProperties validationProperties)
Parameters:dataPropertiesSignatureDataProperties

The data properties containing information about the signature to validate.

validationPropertiesSignatureValidationProperties

The validation properties specifying how the signature should be validated.

Returns:

SignatureValidationResult

An instance of the SignatureValidationResult class describing the result from the validation.