public static interface PrimitiveConstructor.PrimitiveConstructionFunction<KeyT extends Key,PrimitiveT>
This interface exists only so we have a type we can reference in PrimitiveConstructor.create(com.google.crypto.tink.internal.PrimitiveConstructor.PrimitiveConstructionFunction<KeyT, PrimitiveT>, java.lang.Class<KeyT>, java.lang.Class<PrimitiveT>). Users
should not use this directly; see the explanation in PrimitiveConstructor.create(com.google.crypto.tink.internal.PrimitiveConstructor.PrimitiveConstructionFunction<KeyT, PrimitiveT>, java.lang.Class<KeyT>, java.lang.Class<PrimitiveT>).
| Modifier and Type | Method and Description |
|---|---|
PrimitiveT |
constructPrimitive(KeyT key) |
PrimitiveT constructPrimitive(KeyT key) throws GeneralSecurityException
GeneralSecurityException