Config and HybridConfig@Deprecated public final class HybridEncryptConfig extends Object
Registry all instances of HybridEncrypt key types supported in a particular release of Tink.
To register all HybridEncrypt key types provided in Tink release 1.0.0 one can do:
Config.register(HybridEncryptConfig.TINK_1_0_0);
For more information on how to obtain and use instances of HybridEncrypt, see HybridEncryptFactory.
| Modifier and Type | Method and Description |
|---|---|
static void |
registerStandardKeyTypes()
Deprecated.
|
@Deprecated public static void registerStandardKeyTypes() throws GeneralSecurityException
Config.register(com.google.crypto.tink.proto.RegistryConfig)Registry all HybridEncrypt key types released with the
latest version of Tink.
Deprecated-yet-still-supported key types are registered in so-called "no new key"-mode, which allows for usage of existing keys forbids generation of new key material.
GeneralSecurityException