Skip to main content
Version: 4.4.0

AsymmetricXmlSigningConfiguration Class

Namespace: iCore.Public.Crypto.Xml
Assembly: iCore.Public.Crypto.dll

Represents the configuration of an XML signing operation using an asymmetric key.

public sealed class AsymmetricXmlSigningConfiguration : XmlSigningConfiguration

Inheritance object 🡒 XmlSigningConfiguration 🡒 AsymmetricXmlSigningConfiguration

Constructors​

NameDescription
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​

NameDescription
IncludePublicKeyGets or sets a value indicating whether to include the public key in the signature created or not.
SignatureMethodGets or sets the signature method to use.
CertificateGets 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.
KeyMaterialGets 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.