public sealed class MacVerifyResponse : IMessage<MacVerifyResponse>, IEquatable<MacVerifyResponse>, IDeepCloneable<MacVerifyResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class MacVerifyResponse.
Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
Implements
IMessageMacVerifyResponse, IEquatableMacVerifyResponse, IDeepCloneableMacVerifyResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
MacVerifyResponse()
public MacVerifyResponse()
MacVerifyResponse(MacVerifyResponse)
public MacVerifyResponse(MacVerifyResponse other)
Parameter | |
---|---|
Name | Description |
other | MacVerifyResponse |
Properties
Name
public string Name { get; set; }
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. Check this field to verify that the intended resource was used for verification.
Property Value | |
---|---|
Type | Description |
string |
ProtectionLevel
public ProtectionLevel ProtectionLevel { get; set; }
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
Property Value | |
---|---|
Type | Description |
ProtectionLevel |
Success
public bool Success { get; set; }
This field indicates whether or not the verification operation for [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
Property Value | |
---|---|
Type | Description |
bool |
VerifiedDataCrc32C
public bool VerifiedDataCrc32C { get; set; }
Integrity verification field. A flag indicating whether [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
Property Value | |
---|---|
Type | Description |
bool |
VerifiedMacCrc32C
public bool VerifiedMacCrc32C { get; set; }
Integrity verification field. A flag indicating whether [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false, discard the response and perform a limited number of retries.
Property Value | |
---|---|
Type | Description |
bool |
VerifiedSuccessIntegrity
public bool VerifiedSuccessIntegrity { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |