Class Signature
Defines a class used for signing and verifying a digital signature.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.DigitalSignatures
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class Signature
Constructors
Signature(X509Certificate2)
Initializes a new instance of the Signature class.
Declaration
public Signature(X509Certificate2 certificate)
Parameters
System.Security.Cryptography.X509Certificates.X509Certificate2
certificate
The certificate used for signing the signature. |
Properties
Properties
Gets or sets the signature data properties.
Declaration
public SignatureDataProperties Properties { get; set; }
Property Value
SignatureDataProperties
The signature data properties. |
SupportsValidation
Gets a value indicating whether the signature supports validation. Only imported signatures supports validation.
Declaration
public bool SupportsValidation { get; }
Property Value
System.Boolean
|
Methods
TryValidate(SignatureValidationProperties, out SignatureValidationResult)
Tries to validate the signature. Return true
on success; otherwise false
.
Declaration
public bool TryValidate(SignatureValidationProperties validationProperties, out SignatureValidationResult validationResult)
Parameters
SignatureValidationProperties
validationProperties
The validation properties. |
SignatureValidationResult
validationResult
When this method returns, contains the signature validation result. |
Returns
System.Boolean
Return |
TryValidate(out SignatureValidationResult)
Tries to validate the signature. Return true
on success; otherwise false
.
Declaration
public bool TryValidate(out SignatureValidationResult validationResult)
Parameters
SignatureValidationResult
validationResult
When this method returns, contains the signature validation result. |
Returns
System.Boolean
Return |
Validate()
Validates this digital signature instance.
Declaration
public SignatureValidationResult Validate()
Returns
SignatureValidationResult
An instance of the SignatureValidationResult class. |
Validate(SignatureValidationProperties)
Validates this digital signature instance with specified validation properties.
Declaration
public SignatureValidationResult Validate(SignatureValidationProperties validationProperties)
Parameters
SignatureValidationProperties
validationProperties
The validation properties. |
Returns
SignatureValidationResult
|