public final class KeyTemplateProtoConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate.OutputPrefixType |
getOutputPrefixType(KeyTemplate t) |
static KeyTemplate.OutputPrefixType |
prefixFromProto(OutputPrefixType outputPrefixType) |
static byte[] |
toByteArray(KeyTemplate keyTemplate) |
static KeyTemplate |
toProto(KeyTemplate keyTemplate) |
public static KeyTemplate.OutputPrefixType prefixFromProto(OutputPrefixType outputPrefixType) throws GeneralSecurityException
GeneralSecurityExceptionpublic static KeyTemplate toProto(KeyTemplate keyTemplate) throws GeneralSecurityException
GeneralSecurityExceptionpublic static byte[] toByteArray(KeyTemplate keyTemplate) throws GeneralSecurityException
GeneralSecurityExceptionpublic static KeyTemplate.OutputPrefixType getOutputPrefixType(KeyTemplate t) throws GeneralSecurityException
GeneralSecurityException