@Immutable public final class KeyTemplate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyTemplate.OutputPrefixType
Tink produces and accepts ciphertexts or signatures that consist of a prefix and a payload.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
create(String typeUrl,
byte[] value,
KeyTemplate.OutputPrefixType outputPrefixType) |
KeyTemplate.OutputPrefixType |
getOutputPrefixType() |
String |
getTypeUrl() |
byte[] |
getValue() |
public static KeyTemplate create(String typeUrl, byte[] value, KeyTemplate.OutputPrefixType outputPrefixType)
public String getTypeUrl()
public byte[] getValue()
public KeyTemplate.OutputPrefixType getOutputPrefixType()