AWSKMSGetParametersForImportResponse

Objective-C

@interface AWSKMSGetParametersForImportResponse

Swift

class AWSKMSGetParametersForImportResponse
  • The import token to send in a subsequent ImportKeyMaterial request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *_Nullable importToken;

    Swift

    var importToken: Data? { get set }
  • The Amazon Resource Name (key ARN) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyId;

    Swift

    var keyId: String? { get set }
  • The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable parametersValidTo;

    Swift

    var parametersValidTo: Date? { get set }
  • The public key to use to encrypt the key material before importing it with ImportKeyMaterial.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *_Nullable publicKey;

    Swift

    var publicKey: Data? { get set }