Initializes a new instance of the DigitalSignature class.

DigitalSignature(System.Security.Cryptography.X509Certificates.X509Certificate2, String)

public DigitalSignature(System.Security.Cryptography.X509Certificates.X509Certificate2 x509, string timeServerURL);
Public Sub New(ByVal x509 As System.Security.Cryptography.X509Certificates.X509Certificate2, ByVal timeServerURL As String)

DigitalSignature(System.Security.Cryptography.X509Certificates.X509Certificate2, String, String)

public DigitalSignature(System.Security.Cryptography.X509Certificates.X509Certificate2 x509, string timeServerURL, string signatureFieldName);
Public Sub New(ByVal x509 As System.Security.Cryptography.X509Certificates.X509Certificate2, ByVal timeServerURL As String, ByVal signatureFieldName As String)

Parameters

Parameter Description
x509 Specifies an X509Certificate2 object which represents an X.509 certificate. This class can be found in the .net Framework in the namespace System.Security.Cryptography.
timeServerURL Specifies the URL of a time server which is used to get a time stamp for the certification. If an empty string is specified, the current date and time on the computer is used.
signatureFieldName Specifies the name of a SignatureField contained in a document. The digital signature is associated with this field. The name can be specified with the signature field's constructor or its Name property.