View Source GoogleApi.CloudKMS.V1.Model.MacVerifyResponse (google_api_cloud_kms v0.39.1)

Response message for KeyManagementService.MacVerify.

Attributes

  • name (type: String.t, default: nil) - The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification.
  • protectionLevel (type: String.t, default: nil) - The ProtectionLevel of the CryptoKeyVersion used for verification.
  • success (type: boolean(), default: nil) - This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful.
  • verifiedDataCrc32c (type: boolean(), default: nil) - Integrity verification field. A flag indicating whether MacVerifyRequest.data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries.
  • verifiedMacCrc32c (type: boolean(), default: nil) - Integrity verification field. A flag indicating whether MacVerifyRequest.mac_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this field is still false, discard the response and perform a limited number of retries.
  • verifiedSuccessIntegrity (type: boolean(), default: nil) - Integrity verification field. This value is used for the integrity verification of [MacVerifyResponse.success]. If the value of this field contradicts the value of [MacVerifyResponse.success], discard the response and perform a limited number of retries.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudKMS.V1.Model.MacVerifyResponse{
  name: String.t() | nil,
  protectionLevel: String.t() | nil,
  success: boolean() | nil,
  verifiedDataCrc32c: boolean() | nil,
  verifiedMacCrc32c: boolean() | nil,
  verifiedSuccessIntegrity: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.