AWSKMSVerifyMacResponse

Objective-C

@interface AWSKMSVerifyMacResponse

Swift

class AWSKMSVerifyMacResponse
  • The HMAC KMS key used in the verification.

    Declaration

    Objective-C

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

    Swift

    var keyId: String? { get set }
  • The MAC algorithm used in the verification.

    Declaration

    Objective-C

    @property (nonatomic) AWSKMSMacAlgorithmSpec macAlgorithm;

    Swift

    var macAlgorithm: AWSKMSMacAlgorithmSpec { get set }
  • A Boolean value that indicates whether the HMAC was verified. A value of True indicates that the HMAC (Mac) was generated with the specified Message, HMAC KMS key (KeyID) and MacAlgorithm..

    If the HMAC is not verified, the VerifyMac operation fails with a KMSInvalidMacException exception. This exception indicates that one or more of the inputs changed since the HMAC was computed.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable macValid;

    Swift

    var macValid: NSNumber? { get set }