
com.google.crypto.tink.proto.KmsEnvelopeAeadKeyFormatOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tink Show documentation
Show all versions of tink Show documentation
Tink is a small cryptographic library that provides a safe, simple, agile and fast way to accomplish some common cryptographic tasks.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: proto/kms_envelope.proto
// Protobuf Java Version: 4.28.2
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();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy