com.google.crypto.tink.proto.KmsEnvelopeAeadKeyFormatOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/kms_envelope.proto
package com.google.crypto.tink.proto;
public interface KmsEnvelopeAeadKeyFormatOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.crypto.tink.KmsEnvelopeAeadKeyFormat)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required.
* The location of the KEK in a remote KMS.
* With Google Cloud KMS, valid values have this format:
* gcp-kms://projects/*/locations/*/keyRings/*/cryptoKeys/*.
* With AWS KMS, valid values have this format:
* aws-kms://arn:aws:kms:<region>:<account-id>:key/<key-id>
*
*
* string kek_uri = 1;
* @return The kekUri.
*/
java.lang.String getKekUri();
/**
*
* Required.
* The location of the KEK in a remote KMS.
* With Google Cloud KMS, valid values have this format:
* gcp-kms://projects/*/locations/*/keyRings/*/cryptoKeys/*.
* With AWS KMS, valid values have this format:
* aws-kms://arn:aws:kms:<region>:<account-id>:key/<key-id>
*
*
* string kek_uri = 1;
* @return The bytes for kekUri.
*/
com.google.protobuf.ByteString
getKekUriBytes();
/**
*
* Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
* Required.
*
*
* .google.crypto.tink.KeyTemplate dek_template = 2;
* @return Whether the dekTemplate field is set.
*/
boolean hasDekTemplate();
/**
*
* Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
* Required.
*
*
* .google.crypto.tink.KeyTemplate dek_template = 2;
* @return The dekTemplate.
*/
com.google.crypto.tink.proto.KeyTemplate getDekTemplate();
/**
*
* Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
* Required.
*
*
* .google.crypto.tink.KeyTemplate dek_template = 2;
*/
com.google.crypto.tink.proto.KeyTemplateOrBuilder getDekTemplateOrBuilder();
}