Class CertificateIssuanceInfo
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.CertificateIssuanceInfo
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CertificateIssuanceInfo extends com.ibm.cloud.sdk.core.service.model.GenericModelIssuance information that is associated with your certificate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificateIssuanceInfo.StateDescriptionA text representation of the secret state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ChallengeResource>getChallenges()Gets the challenges.DategetDnsChallengeValidationTime()Gets the dnsChallengeValidationTime.StringgetErrorCode()Gets the errorCode.StringgetErrorMessage()Gets the errorMessage.DategetOrderedOn()Gets the orderedOn.LonggetState()Gets the state.StringgetStateDescription()Gets the stateDescription.BooleanisAutoRotated()Gets the autoRotated.
-
-
-
Method Detail
-
isAutoRotated
public Boolean isAutoRotated()
Gets the autoRotated. This parameter indicates whether the issued certificate is configured with an automatic rotation policy.- Returns:
- the autoRotated
-
getChallenges
public List<ChallengeResource> getChallenges()
Gets the challenges. The set of challenges. It is returned only when ordering public certificates by using manual DNS configuration.- Returns:
- the challenges
-
getDnsChallengeValidationTime
public Date getDnsChallengeValidationTime()
Gets the dnsChallengeValidationTime. The date that a user requests to validate DNS challenges for certificates that are ordered with a manual DNS provider. The date format follows `RFC 3339`.- Returns:
- the dnsChallengeValidationTime
-
getErrorCode
public String getErrorCode()
Gets the errorCode. A code that identifies an issuance error. This field, along with `error_message`, is returned when Secrets Manager successfully processes your request, but the certificate authority is unable to issue a certificate.- Returns:
- the errorCode
-
getErrorMessage
public String getErrorMessage()
Gets the errorMessage. A human-readable message that provides details about the issuance error.- Returns:
- the errorMessage
-
getOrderedOn
public Date getOrderedOn()
Gets the orderedOn. The date when the certificate is ordered. The date format follows `RFC 3339`.- Returns:
- the orderedOn
-
getState
public Long getState()
Gets the state. The secret state that is based on `NIST SP 800-57`. States are integers and correspond to the `Pre-activation = 0`, `Active = 1`, `Suspended = 2`, `Deactivated = 3`, and `Destroyed = 5` values.- Returns:
- the state
-
getStateDescription
public String getStateDescription()
Gets the stateDescription. A text representation of the secret state.- Returns:
- the stateDescription
-
-