AsymmetricXmlSigningConfiguration Class
Namespace: iCore.Public.Crypto.Xml
Assembly: iCore.Public.Crypto.dll
Represents the configuration of an XML signing operation using an asymmetric key.
- C#
- VB
public sealed class AsymmetricXmlSigningConfiguration : XmlSigningConfiguration
Public NotInheritable Class AsymmetricXmlSigningConfiguration
Inherits XmlSigningConfiguration
Inheritance object 🡒 XmlSigningConfiguration 🡒 AsymmetricXmlSigningConfiguration
Constructors​
Name | Description |
---|---|
AsymmetricXmlSigningConfiguration() | Initializes a new instance of the AsymmetricXmlSigningConfiguration class. |
AsymmetricXmlSigningConfiguration(iCore.Public.Crypto.DigitalSignatureMethod, bool, iCore.Public.Crypto.X509Certificates.ICertificate) | Initializes a new instance of the AsymmetricXmlSigningConfiguration class. |
AsymmetricXmlSigningConfiguration(iCore.Public.Crypto.DigitalSignatureMethod, bool, iCore.Public.Crypto.IAsymmetricKeyMaterial) | Initializes a new instance of the AsymmetricXmlSigningConfiguration class. |
Properties​
Name | Description |
---|---|
IncludePublicKey | Gets or sets a value indicating whether to include the public key in the signature created or not. |
SignatureMethod | Gets or sets the signature method to use. |
Certificate | Gets or sets the certificate to use for signing the document. This property is mutually exclusive with KeyMaterial and must be set to null if KeyMaterial is specified and vice versa. |
KeyMaterial | Gets or sets the key material to use for signing the document. This property is mutually exclusive with Certificate and must be set to null if Certificate is specified and vice versa. |