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!
// 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;
*/
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;
*/
com.google.protobuf.ByteString
getKekUriBytes();
/**
* * Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
* Required.
*
*
* .google.crypto.tink.KeyTemplate dek_template = 2;
*/
boolean hasDekTemplate();
/**
* * Key template of the Data Encryption Key, e.g., AesCtrHmacAeadKeyFormat.
* Required.
*
*
* .google.crypto.tink.KeyTemplate dek_template = 2;
*/
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();
}