Class CertificateSummary

java.lang.Object
org.springframework.credhub.support.certificate.CertificateSummary

public class CertificateSummary extends Object
A summary of a certificate that has been stored to CredHub. Clients don't typically instantiate objects of this type, but will receive them in response to write and retrieve requests.
Author:
Scott Frederick
  • Constructor Details

    • CertificateSummary

      public CertificateSummary(String id, String name)
      Create a CertificateSummary from the provided parameters. Intended for internal use. Clients will get CertificateSummary objects populated from CredHub responses.
      Parameters:
      id - the ID of the certificate credential
      name - the name of the certificate credential
  • Method Details

    • getId

      public String getId()
      Get the CredHub-generated ID of the certificate credential.
      Returns:
      the credential ID
    • getName

      public String getName()
      Get the client-provided name of the certificate credential.
      Returns:
      the credential name
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object