CertificateHolder
Overview
CertificateHolder is a class in Aspose.Words FOSS for Java.
Represents a holder of X509Certificate2 instance.
Edition status of its 3 listed members (a property and its accessor methods are listed separately, overloads once): 3 not yet exercised by a verified example.
This class declares 4 methods for CertificateHolder objects in Java programs.
Available methods include: create, getCertificate.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: certificate.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
certificate | com.aspose.words.X509Certificate2Wrapper | Read | Gets the certificate. |
Methods
| Signature | Description |
|---|---|
getCertificate() → com.aspose.words.X509Certificate2Wrapper | Returns the certificate. |
create(certBytes: byte[], password: String) → CertificateHolder | Creates CertificateHolder object using byte array of PKCS12 store and its password. |
create(fileName: String, password: String) → CertificateHolder | Creates CertificateHolder object using path to PKCS12 store and its password. |
create(fileName: String, password: String, alias: String) → CertificateHolder | Creates CertificateHolder object using path to PKCS12 store, its password and the alias by using which private key and certificate will be found. |