Function tink_aead::kms_envelope_aead_key_template[][src]

pub fn kms_envelope_aead_key_template(
    uri: &str,
    dek_t: KeyTemplate
) -> KeyTemplate
Expand description

Return a KeyTemplate that generates a KmsEnvelopeAead key for a given KEK in remote KMS. Keys generated by this key template uses RAW output prefix to make them compatible with the remote KMS’ encrypt/decrypt operations. Unlike other templates, when you generate new keys with this template, Tink does not generate new key material, but only creates a reference to the remote KEK.