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. The certificate used for signing the signature. |
Properties
Properties
Gets or sets the signature data properties.
Declaration
public SignatureDataProperties Properties { get; set; }
Property Value
Signature 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.
|
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
Signature The validation properties. |
Signature When this method returns, contains the signature validation result. |
Returns
System. Return |
TryValidate(out SignatureValidationResult)
Tries to validate the signature. Return true
on success; otherwise false
.
Declaration
public bool TryValidate(out SignatureValidationResult validationResult)
Parameters
Signature When this method returns, contains the signature validation result. |
Returns
System. Return |
Validate()
Validates this digital signature instance.
Declaration
public SignatureValidationResult Validate()
Returns
Signature An instance of the Signature |
Validate(SignatureValidationProperties)
Validates this digital signature instance with specified validation properties.
Declaration
public SignatureValidationResult Validate(SignatureValidationProperties validationProperties)
Parameters
Signature The validation properties. |