@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OcspConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information to enable and configure Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
When you revoke a certificate, OCSP responses may take up to 60 minutes to reflect the new status.
Constructor and Description |
---|
OcspConfiguration() |
Modifier and Type | Method and Description |
---|---|
OcspConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
|
String |
getOcspCustomCname()
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being
validated by the Online Certificate Status Protocol (OCSP).
|
int |
hashCode() |
Boolean |
isEnabled()
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
|
void |
setOcspCustomCname(String ocspCustomCname)
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being
validated by the Online Certificate Status Protocol (OCSP).
|
String |
toString()
Returns a string representation of this object.
|
OcspConfiguration |
withEnabled(Boolean enabled)
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
|
OcspConfiguration |
withOcspCustomCname(String ocspCustomCname)
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being
validated by the Online Certificate Status Protocol (OCSP).
|
public void setEnabled(Boolean enabled)
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
enabled
- Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation
status.public Boolean getEnabled()
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
public OcspConfiguration withEnabled(Boolean enabled)
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
enabled
- Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation
status.public Boolean isEnabled()
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
public void setOcspCustomCname(String ocspCustomCname)
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.
The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
ocspCustomCname
- By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being
validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object
to define a CNAME specifying a customized OCSP domain. The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
public String getOcspCustomCname()
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.
The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
public OcspConfiguration withOcspCustomCname(String ocspCustomCname)
By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.
The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
ocspCustomCname
- By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being
validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object
to define a CNAME specifying a customized OCSP domain. The content of a Canonical Name (CNAME) record must conform to RFC2396 restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Amazon Web Services Private Certificate Authority User Guide.
public String toString()
toString
in class Object
Object.toString()
public OcspConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.