Package com.google.crypto.tink.hybrid
Class HybridDecryptFactory
- java.lang.Object
-
- com.google.crypto.tink.hybrid.HybridDecryptFactory
-
@Deprecated public final class HybridDecryptFactory extends java.lang.ObjectDeprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class)after registering theHybridDecryptWrapperinstead.Deprecated class to createHybridDecryptprimitives. Instead of using this class, make sure that theHybridDecryptWrapperis registered in your binary, then callkeysetHandle.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()
- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HybridDecryptgetPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class)after registering theHybridDecryptWrapperinstead.
-
-
-
Method Detail
-
getPrimitive
@Deprecated public static HybridDecrypt getPrimitive(KeysetHandle keysetHandle) throws java.security.GeneralSecurityException
Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class)after registering theHybridDecryptWrapperinstead.- Returns:
- a HybridDecrypt primitive from a
keysetHandle. - Throws:
java.security.GeneralSecurityException
-
-