-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Is your feature request related to a problem?
We are using the Aead Evenlope encryption. We are planning to store the DEK KeyTemplate with the encrypted data so that we know which template to use for decryption.
What is the intended way to come from an KeyTemplate to the related Parameters?
template = AeadKeyTemplates.createKmsEnvelopeAeadKeyTemplate(reference.getKeyURI(), AeadKeyTemplates.AES128_GCM);
parameters = /* ? */
Aead aead = KmsEnvelopeAead.create(parameters, remoteAead);
What sort of feature would you like to see?
Util method to convert AeadParameters to a KeyTempleate and vice versa
Have you considered any alternative solutions?
We ware not able to figure out how to convert parameters to key templates
Thx, Regards
Metadata
Metadata
Assignees
Labels
No labels