keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridEncrypt.class) after registering the HybridEncryptWrapper instead.@Deprecated public final class HybridEncryptFactory extends Object
HybridEncrypt primitives. Instead of using this class, make
sure that the HybridEncryptWrapper is registered in your binary, then call keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridEncrypt.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 HybridEncrypt |
getPrimitive(KeysetHandle keysetHandle)
Deprecated.
Use
keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridEncrypt.class) after registering the HybridEncryptWrapper instead. |
@Deprecated public static HybridEncrypt getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.getPrimitive(RegistryConfiguration.get(),
HybridEncrypt.class) after registering the HybridEncryptWrapper instead.keysetHandle.GeneralSecurityException