Class CertificateSummary
java.lang.Object
org.springframework.credhub.support.certificate.CertificateSummary
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 Summary
ConstructorsConstructorDescriptionCertificateSummary(String id, String name) Create aCertificateSummaryfrom the provided parameters. -
Method Summary
-
Constructor Details
-
CertificateSummary
Create aCertificateSummaryfrom the provided parameters. Intended for internal use. Clients will getCertificateSummaryobjects populated from CredHub responses.- Parameters:
id- the ID of the certificate credentialname- the name of the certificate credential
-
-
Method Details
-
getId
Get the CredHub-generated ID of the certificate credential.- Returns:
- the credential ID
-
getName
Get the client-provided name of the certificate credential.- Returns:
- the credential name
-
equals
-
hashCode
public int hashCode() -
toString
-