Class CertificateInfo

java.lang.Object
org.wso2.carbon.crypto.api.CertificateInfo

public class CertificateInfo extends Object
A simple data holder class which is used to encapsulate either the Certificate or the certificate information which can be used to retrieve the certificate.

KeyResolver implementations return CertificateInfo based on the given CryptoContext, and ExternalCryptoProvider implementations use it for certificate retrieval.

  • Constructor Details

    • CertificateInfo

      public CertificateInfo(String certificateAlias, Certificate certificate)
  • Method Details

    • getCertificateAlias

      public String getCertificateAlias()
    • getCertificate

      public Certificate getCertificate()
    • toString

      public String toString()
      Overrides:
      toString in class Object