Class CertificateCredentialDetails
java.lang.Object
org.springframework.credhub.support.CredentialSummary
org.springframework.credhub.support.CredentialDetails<CertificateCredential>
org.springframework.credhub.support.certificate.CertificateCredentialDetails
The details of a certificate credential that has been written to CredHub. This is a
specialization of
CredentialDetails that adds certificate-specific fields.
Clients don't typically instantiate objects of this type, but will receive them in
response to credential operation requests. The id and name fields
can be used in subsequent requests.- Author:
- Scott Frederick
-
Field Summary
Fields inherited from class org.springframework.credhub.support.CredentialSummary
name, versionCreatedAt -
Constructor Summary
ConstructorsConstructorDescriptionCertificateCredentialDetails(String id, CredentialName name, CredentialType credentialType, boolean transitional, CertificateCredential value) Create aCertificateCredentialDetailsfrom the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the value of the flag indicating whether the certificate is currently being used for signing or if it is being staged.Methods inherited from class org.springframework.credhub.support.CredentialDetails
equals, getCredentialType, getId, getValue, hashCode, toStringMethods inherited from class org.springframework.credhub.support.CredentialSummary
getName, getVersionCreatedAt
-
Constructor Details
-
CertificateCredentialDetails
public CertificateCredentialDetails(String id, CredentialName name, CredentialType credentialType, boolean transitional, CertificateCredential value) Create aCertificateCredentialDetailsfrom the provided parameters. Intended for internal use. Clients will getCertificateCredentialDetailsobjects populated from CredHub responses.- Parameters:
id- the CredHub-generated unique ID of the credentialname- the client-provided name of the credentialcredentialType- theCredentialTypeof the credentialtransitional- a flag indicating whether the certificate will be used for signingvalue- the client-provided value for the credential
-
-
Method Details
-
isTransitional
public boolean isTransitional()Get the value of the flag indicating whether the certificate is currently being used for signing or if it is being staged.- Returns:
- the transitional flag
-