@Test public void aaaTestInitialization() throws Exception { try { Registry.getCatalogue("tinkdeterministicaead"); fail("Expected GeneralSecurityException"); } catch (GeneralSecurityException e) { assertThat(e.toString()).contains("no catalogue found"); assertThat(e.toString()).contains("DeterministicAeadConfig.register()"); } String typeUrl = "type.googleapis.com/google.crypto.tink.AesSivKey"; try { Registry.getUntypedKeyManager(typeUrl); fail("Expected GeneralSecurityException"); } catch (GeneralSecurityException e) { assertThat(e.toString()).contains("No key manager found"); } DeterministicAeadConfig.register(); Registry.getKeyManager(typeUrl, DeterministicAead.class); DeterministicAeadConfig.register(); }
public static void register() throws GeneralSecurityException { AesSivKeyManager.register( true); DeterministicAeadWrapper.register(); }
DeterministicAeadConfig { public static void register() throws GeneralSecurityException { AesSivKeyManager.register( true); DeterministicAeadWrapper.register(); } }
DeterministicAeadConfig { public static void register() throws GeneralSecurityException { AesSivKeyManager.register( true); DeterministicAeadWrapper.register(); } private  DeterministicAeadConfig(); }
DeterministicAeadConfig { public static void register() throws GeneralSecurityException { AesSivKeyManager.register( true); DeterministicAeadWrapper.register(); } private  DeterministicAeadConfig(); @Deprecated static void init(); static void register(); }
DeterministicAeadConfig { public static void register() throws GeneralSecurityException { AesSivKeyManager.register( true); DeterministicAeadWrapper.register(); } private  DeterministicAeadConfig(); @Deprecated static void init(); static void register(); static final String AES_SIV_TYPE_URL; @Deprecated static final RegistryConfig TINK_1_1_0; @Deprecated static final RegistryConfig LATEST; }