Xceed Words for .NET v5.1 Documentation
Xceed.Words.NET Assembly / Xceed.Words.NET Namespace / DigitalCertificate Class
Members Example


In This Topic
    DigitalCertificate Class
    In This Topic
    Represents a holder for a X509Certificate2 certificate.
    Syntax
    'Declaration
     
    Public Class DigitalCertificate 
    'Usage
     
    Dim instance As DigitalCertificate
    public class DigitalCertificate 
    Example
    var certificate = DigitalCertificate.Create( "CustomCertificate.pfx", "xceed" );
    DocX.Sign( "DocumentToSign.docx", "SignedDocument.docx", certificate );
    Inheritance Hierarchy

    System.Object
       Xceed.Words.NET.DigitalCertificate

    Public Properties
     NameDescription
    Public PropertyGets the certificate associated with this object.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Creates a DigitalCertificate object from the certificate path and password received. This certificate will be used to sign a document with the DocX.Sign() method.
     
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also