Class CertificateAuthority
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CertificateAuthority.Builder,
CertificateAuthority>
Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate Subject field owns or controls the public key contained in the Subject Public Key Info field. Call the CreateCertificateAuthority action to create your private CA. You must then call the GetCertificateAuthorityCertificate action to retrieve a private CA certificate signing request (CSR). Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA certificate. Call the ImportCertificateAuthorityCertificate action to import the signed certificate into Certificate Manager (ACM).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
arn()
Amazon Resource Name (ARN) for your private certificate authority (CA).static CertificateAuthority.Builder
builder()
Your private CA configuration.final Instant
Date and time at which your private CA was created.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FailureReason
Reason the request to create your private CA failed.final String
Reason the request to create your private CA failed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
Defines a cryptographic key management compliance standard used for handling CA keys.final String
Defines a cryptographic key management compliance standard used for handling CA keys.final Instant
Date and time at which your private CA was last updated.final Instant
notAfter()
Date and time after which your private CA certificate is not valid.final Instant
Date and time before which your private CA certificate is not valid.final String
The Amazon Web Services account ID that owns the certificate authority.final Instant
The period during which a deleted CA can be restored.final RevocationConfiguration
Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.final String
serial()
Serial number of your private CA.static Class
<? extends CertificateAuthority.Builder> status()
Status of your private CA.final String
Status of your private CA.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final CertificateAuthorityType
type()
Type of your private CA.final String
Type of your private CA.Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly.final String
Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.- Returns:
- Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.
-
ownerAccount
The Amazon Web Services account ID that owns the certificate authority.
- Returns:
- The Amazon Web Services account ID that owns the certificate authority.
-
createdAt
Date and time at which your private CA was created.
- Returns:
- Date and time at which your private CA was created.
-
lastStateChangeAt
Date and time at which your private CA was last updated.
- Returns:
- Date and time at which your private CA was last updated.
-
type
Type of your private CA.
If the service returns an enum value that is not available in the current SDK version,
type
will returnCertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Type of your private CA.
- See Also:
-
typeAsString
Type of your private CA.
If the service returns an enum value that is not available in the current SDK version,
type
will returnCertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Type of your private CA.
- See Also:
-
serial
Serial number of your private CA.
- Returns:
- Serial number of your private CA.
-
status
Status of your private CA.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCertificateAuthorityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of your private CA.
- See Also:
-
statusAsString
Status of your private CA.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCertificateAuthorityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of your private CA.
- See Also:
-
notBefore
Date and time before which your private CA certificate is not valid.
- Returns:
- Date and time before which your private CA certificate is not valid.
-
notAfter
Date and time after which your private CA certificate is not valid.
- Returns:
- Date and time after which your private CA certificate is not valid.
-
failureReason
Reason the request to create your private CA failed.
If the service returns an enum value that is not available in the current SDK version,
failureReason
will returnFailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureReasonAsString()
.- Returns:
- Reason the request to create your private CA failed.
- See Also:
-
failureReasonAsString
Reason the request to create your private CA failed.
If the service returns an enum value that is not available in the current SDK version,
failureReason
will returnFailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureReasonAsString()
.- Returns:
- Reason the request to create your private CA failed.
- See Also:
-
certificateAuthorityConfiguration
Your private CA configuration.
- Returns:
- Your private CA configuration.
-
revocationConfiguration
Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.
- Returns:
- Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.
-
restorableUntil
The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.- Returns:
- The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.
-
keyStorageSecurityStandard
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message "A certificate authority cannot be created in this region with the specified security standard."If the service returns an enum value that is not available in the current SDK version,
keyStorageSecurityStandard
will returnKeyStorageSecurityStandard.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyStorageSecurityStandardAsString()
.- Returns:
- Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message "A certificate authority cannot be created in this region with the specified security standard." - See Also:
-
keyStorageSecurityStandardAsString
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message "A certificate authority cannot be created in this region with the specified security standard."If the service returns an enum value that is not available in the current SDK version,
keyStorageSecurityStandard
will returnKeyStorageSecurityStandard.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromkeyStorageSecurityStandardAsString()
.- Returns:
- Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message "A certificate authority cannot be created in this region with the specified security standard." - See Also:
-
usageMode
Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
If the service returns an enum value that is not available in the current SDK version,
usageMode
will returnCertificateAuthorityUsageMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromusageModeAsString()
.- Returns:
- Specifies whether the CA issues general-purpose certificates that typically require a revocation
mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly.
Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
- See Also:
-
usageModeAsString
Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
If the service returns an enum value that is not available in the current SDK version,
usageMode
will returnCertificateAuthorityUsageMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromusageModeAsString()
.- Returns:
- Specifies whether the CA issues general-purpose certificates that typically require a revocation
mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly.
Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CertificateAuthority.Builder,
CertificateAuthority> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-