Package com.google.crypto.tink
Class KeyTemplates
- java.lang.Object
-
- com.google.crypto.tink.KeyTemplates
-
public final class KeyTemplates extends java.lang.ObjectThis class consists exclusively of static methods that loadKeyTemplateobjects.- Since:
- 1.6.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTemplateget(java.lang.String name)Returns a key template that was registered with theRegistryasname.
-
-
-
Method Detail
-
get
public static KeyTemplate get(java.lang.String name) throws java.security.GeneralSecurityException
Returns a key template that was registered with theRegistryasname.- Throws:
java.security.GeneralSecurityException- if cannot find key template with namenamein the Registry- Since:
- 1.6.0
-
-