CertificateHolder

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

NameTypeAccessDescription
certificatecom.aspose.words.X509Certificate2WrapperReadGets the certificate.

Methods

SignatureDescription
getCertificate() → com.aspose.words.X509Certificate2WrapperReturns the certificate.
create(certBytes: byte[], password: String) → CertificateHolderCreates CertificateHolder object using byte array of PKCS12 store and its password.
create(fileName: String, password: String) → CertificateHolderCreates CertificateHolder object using path to PKCS12 store and its password.
create(fileName: String, password: String, alias: String) → CertificateHolderCreates CertificateHolder object using path to PKCS12 store, its password and the alias by using which private key and certificate will be found.

See Also