PublicCertificate contains an x509 public certificate in PEM format and a string which is
used to identify this certificate.
See Also: RFC 5280 for the specification of x509 certificates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003ePublicCertificate\u003c/code\u003e is a class that holds an x509 public certificate in PEM format along with an identifier string.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements the \u003ccode\u003eSerializable\u003c/code\u003e interface, making it suitable for serialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublicCertificate\u003c/code\u003e class can be constructed by providing a certificate name and the x509 certificate data in PEM format.\u003c/p\u003e\n"],["\u003cp\u003eThe certificate name can be accessed via the \u003ccode\u003egetCertificateName()\u003c/code\u003e method and the certificate content can be retrieved using the \u003ccode\u003egetX509CertificateInPemFormat()\u003c/code\u003e method, both returning strings.\u003c/p\u003e\n"]]],[],null,["# Class PublicCertificate (2.0.0)\n\n public final class PublicCertificate implements Serializable\n\n`PublicCertificate` contains an x509 public certificate in PEM format and a string which is\nused to identify this certificate.\nSee Also: [RFC 5280](http://tools.ietf.org/html/rfc5280) for the specification of x509 certificates. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e PublicCertificate \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### PublicCertificate(String certficiateName, String x509CertificateInPemFormat)\n\n public PublicCertificate(String certficiateName, String x509CertificateInPemFormat)\n\nMethods\n-------\n\n### getCertificateName()\n\n public String getCertificateName()\n\n### getX509CertificateInPemFormat()\n\n public String getX509CertificateInPemFormat()"]]