AWSIoTCertificate
Objective-C
@interface AWSIoTCertificate
Swift
class AWSIoTCertificate
Information about a certificate.
-
The ARN of the certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable certificateArn;
Swift
var certificateArn: String? { get set }
-
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable certificateId;
Swift
var certificateId: String? { get set }
-
The mode of the certificate.
DEFAULT
: A certificate inDEFAULT
mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULT
mode. Devices with certificates inDEFAULT
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 inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to Amazon Web Services IoT Core.Declaration
Objective-C
@property (nonatomic) AWSIoTCertificateMode certificateMode;
Swift
var certificateMode: AWSIoTCertificateMode { get set }
-
The date and time the certificate was created.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable creationDate;
Swift
var creationDate: Date? { get set }
-
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Declaration
Objective-C
@property (nonatomic) AWSIoTCertificateStatus status;
Swift
var status: AWSIoTCertificateStatus { get set }