Skip to content

/AWS1/CL_IOTCERTIFICATE

Information about a certificate.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_certificatearn TYPE /AWS1/IOTCERTIFICATEARN /AWS1/IOTCERTIFICATEARN

The ARN of the certificate.

iv_certificateid TYPE /AWS1/IOTCERTIFICATEID /AWS1/IOTCERTIFICATEID

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

iv_status TYPE /AWS1/IOTCERTIFICATESTATUS /AWS1/IOTCERTIFICATESTATUS

The status of the certificate.

The status value REGISTER_INACTIVE is deprecated and should not be used.

iv_certificatemode TYPE /AWS1/IOTCERTIFICATEMODE /AWS1/IOTCERTIFICATEMODE

The mode of the certificate.

DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with certificates in DEFAULT mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.

SNI_ONLY: A certificate in SNI_ONLY mode is registered without an issuer CA. Devices with certificates in SNI_ONLY mode must send the SNI extension when connecting to Amazon Web Services IoT Core.

iv_creationdate TYPE /AWS1/IOTDATETYPE /AWS1/IOTDATETYPE

The date and time the certificate was created.


Queryable Attributes

certificateArn

The ARN of the certificate.

Accessible with the following methods

Method Description
GET_CERTIFICATEARN() Getter for CERTIFICATEARN, with configurable default
ASK_CERTIFICATEARN() Getter for CERTIFICATEARN w/ exceptions if field has no valu
HAS_CERTIFICATEARN() Determine if CERTIFICATEARN has a value

certificateId

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Accessible with the following methods

Method Description
GET_CERTIFICATEID() Getter for CERTIFICATEID, with configurable default
ASK_CERTIFICATEID() Getter for CERTIFICATEID w/ exceptions if field has no value
HAS_CERTIFICATEID() Determine if CERTIFICATEID has a value

status

The status of the certificate.

The status value REGISTER_INACTIVE is deprecated and should not be used.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

certificateMode

The mode of the certificate.

DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with certificates in DEFAULT mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.

SNI_ONLY: A certificate in SNI_ONLY mode is registered without an issuer CA. Devices with certificates in SNI_ONLY mode must send the SNI extension when connecting to Amazon Web Services IoT Core.

Accessible with the following methods

Method Description
GET_CERTIFICATEMODE() Getter for CERTIFICATEMODE, with configurable default
ASK_CERTIFICATEMODE() Getter for CERTIFICATEMODE w/ exceptions if field has no val
HAS_CERTIFICATEMODE() Determine if CERTIFICATEMODE has a value

creationDate

The date and time the certificate was created.

Accessible with the following methods

Method Description
GET_CREATIONDATE() Getter for CREATIONDATE, with configurable default
ASK_CREATIONDATE() Getter for CREATIONDATE w/ exceptions if field has no value
HAS_CREATIONDATE() Determine if CREATIONDATE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CERTIFICATES

TYPES TT_CERTIFICATES TYPE STANDARD TABLE OF REF TO /AWS1/CL_IOTCERTIFICATE WITH DEFAULT KEY
.