AWSIoTCertificateDescription
Objective-C
@interface AWSIoTCertificateDescription
Swift
class AWSIoTCertificateDescription
Describes a certificate.
-
The certificate ID of the CA certificate used to sign this certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable caCertificateId;
Swift
var caCertificateId: String? { get set }
-
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.
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.For more information about the value for SNI extension, see Transport security in IoT.
Declaration
Objective-C
@property (nonatomic) AWSIoTCertificateMode certificateMode;
Swift
var certificateMode: AWSIoTCertificateMode { get set }
-
The certificate data, in PEM format.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable certificatePem;
Swift
var certificatePem: String? { 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 customer version of the certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable customerVersion;
Swift
var customerVersion: NSNumber? { get set }
-
The generation ID of the certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable generationId;
Swift
var generationId: String? { get set }
-
The date and time the certificate was last modified.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lastModifiedDate;
Swift
var lastModifiedDate: Date? { get set }
-
The ID of the Amazon Web Services account that owns the certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ownedBy;
Swift
var ownedBy: String? { get set }
-
The ID of the Amazon Web Services account of the previous owner of the certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable previousOwnedBy;
Swift
var previousOwnedBy: String? { get set }
-
The status of the certificate.
Declaration
Objective-C
@property (nonatomic) AWSIoTCertificateStatus status;
Swift
var status: AWSIoTCertificateStatus { get set }
-
The transfer data.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTTransferData *_Nullable transferData;
Swift
var transferData: AWSIoTTransferData? { get set }
-
When the certificate is valid.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTCertificateValidity *_Nullable validity;
Swift
var validity: AWSIoTCertificateValidity? { get set }