public final class HybridConfig extends Object
Registry all
instances of HybridEncrypt and HybridDecrypt key types supported in a particular release of Tink.
To register all HybridEncrypt and HybridDecrypt key types provided in the latest Tink version one can do:
HybridConfig.register();
For more information on how to obtain and use instances of HybridEncrypt or HybridDecrypt, see
HybridEncryptFactory or HybridDecryptFactory.
| Modifier and Type | Field and Description |
|---|---|
static String |
ECIES_AEAD_HKDF_PRIVATE_KEY_TYPE_URL |
static String |
ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL |
static RegistryConfig |
LATEST
Deprecated.
|
static RegistryConfig |
TINK_1_0_0
Deprecated.
|
static RegistryConfig |
TINK_1_1_0
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
Deprecated.
use
register() |
static void |
register()
|
public static final String ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL
public static final String ECIES_AEAD_HKDF_PRIVATE_KEY_TYPE_URL
@Deprecated public static final RegistryConfig TINK_1_0_0
@Deprecated public static final RegistryConfig TINK_1_1_0
@Deprecated public static final RegistryConfig LATEST
@Deprecated public static void init() throws GeneralSecurityException
register()Registry all instances of Catalogue needed to handle HybridDecrypt and HybridEncrypt key types
supported in Tink.
Because HybridDecrypt and HybridEncrypt key types depend on Aead and Mac key types, this method also
registers all Aead and Mac catalogues.
GeneralSecurityExceptionpublic static void register()
throws GeneralSecurityException
Registry all instances of Catalogue needed to handle HybridDecrypt and HybridEncrypt key types
supported in Tink.
Because HybridDecrypt and HybridEncrypt key types depend on Aead and Mac key types, this method also
registers all Aead and Mac catalogues.
GeneralSecurityException