Interface MacVerifyResponseOrBuilder (2.19.0)

public interface MacVerifyResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getProtectionLevel()

public abstract ProtectionLevel getProtectionLevel()

The ProtectionLevel of the CryptoKeyVersion used for verification.

.google.cloud.kms.v1.ProtectionLevel protection_level = 6;

Returns
TypeDescription
ProtectionLevel

The protectionLevel.

getProtectionLevelValue()

public abstract int getProtectionLevelValue()

The ProtectionLevel of the CryptoKeyVersion used for verification.

.google.cloud.kms.v1.ProtectionLevel protection_level = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for protectionLevel.

getSuccess()

public abstract boolean getSuccess()

This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful.

bool success = 2;

Returns
TypeDescription
boolean

The success.

getVerifiedDataCrc32C()

public abstract boolean getVerifiedDataCrc32C()

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.

bool verified_data_crc32c = 3;

Returns
TypeDescription
boolean

The verifiedDataCrc32c.

getVerifiedMacCrc32C()

public abstract boolean getVerifiedMacCrc32C()

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.

bool verified_mac_crc32c = 4;

Returns
TypeDescription
boolean

The verifiedMacCrc32c.

getVerifiedSuccessIntegrity()

public abstract boolean getVerifiedSuccessIntegrity()

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.

bool verified_success_integrity = 5;

Returns
TypeDescription
boolean

The verifiedSuccessIntegrity.