AWSKMSGenerateDataKeyPairResponse

@interface AWSKMSGenerateDataKeyPairResponse
  • The identifier of the CMK that encrypted the private key.

    Declaration

    Objective-C

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

    Swift

    var keyId: String? { get set }
  • The type of data key pair that was generated.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSKMSDataKeyPairSpec keyPairSpec;

    Swift

    var keyPairSpec: AWSKMSDataKeyPairSpec { get set }
  • The encrypted copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSData *_Nullable privateKeyCiphertextBlob;

    Swift

    var privateKeyCiphertextBlob: Data? { get set }
  • The plaintext copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSData *_Nullable privateKeyPlaintext;

    Swift

    var privateKeyPlaintext: Data? { get set }
  • The public key (in plaintext).

    Declaration

    Objective-C

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

    Swift

    var publicKey: Data? { get set }