Class RawDecryptRequest
Request message for KeyManagementService.RawDecrypt.
Implements
Inherited Members
Namespace: Google.Apis.CloudKMS.v1.Data
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class RawDecryptRequest : IDirectResponseSchema
Properties
AdditionalAuthenticatedData
Optional. Optional data that must match the data originally supplied in RawEncryptRequest.additional_authenticated_data.
Declaration
[JsonProperty("additionalAuthenticatedData")]
public virtual string AdditionalAuthenticatedData { get; set; }
Property Value
Type | Description |
---|---|
string |
AdditionalAuthenticatedDataCrc32c
Optional. An optional CRC32C checksum of the RawDecryptRequest.additional_authenticated_data. If specified, KeyManagementService will verify the integrity of the received additional_authenticated_data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(additional_authenticated_data) is equal to additional_authenticated_data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
Declaration
[JsonProperty("additionalAuthenticatedDataCrc32c")]
public virtual long? AdditionalAuthenticatedDataCrc32c { get; set; }
Property Value
Type | Description |
---|---|
long? |
Ciphertext
Required. The encrypted data originally returned in RawEncryptResponse.ciphertext.
Declaration
[JsonProperty("ciphertext")]
public virtual string Ciphertext { get; set; }
Property Value
Type | Description |
---|---|
string |
CiphertextCrc32c
Optional. An optional CRC32C checksum of the RawDecryptRequest.ciphertext. If specified, KeyManagementService will verify the integrity of the received ciphertext using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(ciphertext) is equal to ciphertext_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
Declaration
[JsonProperty("ciphertextCrc32c")]
public virtual long? CiphertextCrc32c { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InitializationVector
Required. The initialization vector (IV) used during encryption, which must match the data originally provided in RawEncryptResponse.initialization_vector.
Declaration
[JsonProperty("initializationVector")]
public virtual string InitializationVector { get; set; }
Property Value
Type | Description |
---|---|
string |
InitializationVectorCrc32c
Optional. An optional CRC32C checksum of the RawDecryptRequest.initialization_vector. If specified, KeyManagementService will verify the integrity of the received initialization_vector using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
Declaration
[JsonProperty("initializationVectorCrc32c")]
public virtual long? InitializationVectorCrc32c { get; set; }
Property Value
Type | Description |
---|---|
long? |
TagLength
The length of the authentication tag that is appended to the end of the ciphertext. If unspecified (0), the default value for the key's algorithm will be used (for AES-GCM, the default value is 16).
Declaration
[JsonProperty("tagLength")]
public virtual int? TagLength { get; set; }
Property Value
Type | Description |
---|---|
int? |