keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridDecrypt.class) after registering the HybridDecryptWrapper instead.@Deprecated public final class HybridDecryptFactory extends Object
HybridDecrypt primitives. Instead of using this class, make
sure that the HybridDecryptWrapper is registered in your binary, then call keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) instead. The
required registration happens automatically if you called one of the following in your binary:
HybridConfig.register()
TinkConfig.register()
| Modifier and Type | Method and Description |
|---|---|
static HybridDecrypt |
getPrimitive(KeysetHandle keysetHandle)
Deprecated.
Use
keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridDecrypt.class) after registering the HybridDecryptWrapper instead. |
@Deprecated public static HybridDecrypt getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridDecrypt.class) after registering the HybridDecryptWrapper instead.keysetHandle.GeneralSecurityException