@Test public void aaaTestInitialization() throws Exception { try { Registry.getCatalogue("tinkstreamingaead"); fail("Expected GeneralSecurityException"); } catch (GeneralSecurityException e) { assertThat(e.toString()).contains("no catalogue found"); assertThat(e.toString()).contains("StreamingAeadConfig.register()"); } try { Registry.getCatalogue("TinkStreamingAead"); fail("Expected GeneralSecurityException"); } catch (GeneralSecurityException e) { assertThat(e.toString()).contains("no catalogue found"); assertThat(e.toString()).contains("StreamingAeadConfig.register()"); } String typeUrl = "type.googleapis.com/google.crypto.tink.AesCtrHmacStreamingKey"; try { Registry.getUntypedKeyManager(typeUrl); fail("Expected GeneralSecurityException"); } catch (GeneralSecurityException e) { assertThat(e.toString()).contains("No key manager found"); } StreamingAeadConfig.register(); Registry.getKeyManager(typeUrl, StreamingAead.class); StreamingAeadConfig.register(); }
public static void register() throws GeneralSecurityException { AesCtrHmacStreamingKeyManager.register( true); AesGcmHkdfStreamingKeyManager.register( true); StreamingAeadWrapper.register(); }
StreamingAeadConfig { public static void register() throws GeneralSecurityException { AesCtrHmacStreamingKeyManager.register( true); AesGcmHkdfStreamingKeyManager.register( true); StreamingAeadWrapper.register(); } }
StreamingAeadConfig { public static void register() throws GeneralSecurityException { AesCtrHmacStreamingKeyManager.register( true); AesGcmHkdfStreamingKeyManager.register( true); StreamingAeadWrapper.register(); }  }
StreamingAeadConfig { public static void register() throws GeneralSecurityException { AesCtrHmacStreamingKeyManager.register( true); AesGcmHkdfStreamingKeyManager.register( true); StreamingAeadWrapper.register(); }  @Deprecated static void init(); static void register(); }
StreamingAeadConfig { public static void register() throws GeneralSecurityException { AesCtrHmacStreamingKeyManager.register( true); AesGcmHkdfStreamingKeyManager.register( true); StreamingAeadWrapper.register(); }  @Deprecated static void init(); static void register(); static final String AES_CTR_HMAC_STREAMINGAEAD_TYPE_URL; static final String AES_GCM_HKDF_STREAMINGAEAD_TYPE_URL; @Deprecated
  static final RegistryConfig TINK_1_1_0; static final RegistryConfig LATEST; }