CertificateHolder
Overview
CertificateHolder is a class in Aspose.Words FOSS for .NET.
Represents a holder of X509Certificate2 instance.
This class provides 4 methods for working with CertificateHolder objects in .NET programs.
Available methods include: Create.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Certificate.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Certificate | X509Certificate2 | Read | Returns the instance of X509Certificate2Wrapper that holds X509Certificate2 which holds private, public keys and certificate chain. |
Methods
| Signature | Description |
|---|---|
Create(certBytes: byte[], password: SecureString) | Creates CertificateHolder object using byte array of PKCS12 store and its password. |
Create(certBytes: byte[], password: string) | Creates CertificateHolder object using byte array of PKCS12 store and its password. |
Create(fileName: string, password: string) | Creates CertificateHolder object using path to PKCS12 store and its password. |
Create(fileName: string, password: string, alias: string) | Creates CertificateHolder object using path to PKCS12 store, its password and the alias by using which private key and certificate will be found. |