@Deprecated public interface Catalogue<P>
KeyManager objects.
It is basically a map from a (key type, primitive name)-tuple to KeyManager-objects,
that determines the implementation that handles the keys of the given key type.
Tink includes default per-primitive catalogues, but it also supports custom catalogues to
enable user-defined configuration of run-time environment via Registry.
The template parameter P denotes the primitive corresponding to the KeyManager
handled by this catalogue.
| Modifier and Type | Method and Description |
|---|---|
KeyManager<P> |
getKeyManager(String typeUrl,
String primitiveName,
int minVersion)
Deprecated.
|
PrimitiveWrapper<?,P> |
getPrimitiveWrapper()
Deprecated.
Returns a new primitive wrapper for this primitive.
|
KeyManager<P> getKeyManager(String typeUrl, String primitiveName, int minVersion) throws GeneralSecurityException
KeyManager for the given typeUrl, primitiveName, and version
at least minVersion (if it exists in the catalogue).GeneralSecurityExceptionPrimitiveWrapper<?,P> getPrimitiveWrapper() throws GeneralSecurityException
GeneralSecurityException