Package com.google.crypto.tink.internal
Interface PrimitiveConstructor.PrimitiveConstructionFunction<KeyT extends Key,PrimitiveT>
-
- Enclosing class:
- PrimitiveConstructor<KeyT extends Key,PrimitiveT>
public static interface PrimitiveConstructor.PrimitiveConstructionFunction<KeyT extends Key,PrimitiveT>A function which creates a Primitive object.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 inPrimitiveConstructor.create(com.google.crypto.tink.internal.PrimitiveConstructor.PrimitiveConstructionFunction<KeyT, PrimitiveT>, java.lang.Class<KeyT>, java.lang.Class<PrimitiveT>).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrimitiveTconstructPrimitive(KeyT key)
-
-
-
Method Detail
-
constructPrimitive
PrimitiveT constructPrimitive(KeyT key) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-