Thai Duong
authored
Some refactoring: - Moving the registration of catalogue to Registry. Does NOT allow overwriting catalogues. - Deprecating registerStandardKeyTypes. - Ensuring that primitive-specific tests register only the corresponding key types. - com.google.crypto.tink.config.Config becomes com.google.crypto.tink.Config and does not depend on any primitives. - com.google.crypto.tink.proto.TinkConfig is renamed to com.google.crypto.tink.proto.RegistryConfig. - Add com.google.crypto.tink.crypto.config.TinkConfig that depends on all primitives. Examples: - To register all Aead primitives in Tink 1.0.0: Config.register(AeadConfig.TINK_1_0_0); - To register all primitives: Config.register(TinkConfig.TINK_1_0_0); - To use custom catalogues and configs: Register.addCatalogue("name", MyCatalogue()); RegistryConfig customConfig = ...; TinkConfig.init(); Config.register(customConfig); Change-Id: I7e593e1c3f1f404555e02672c0d0a3a214b660d9 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 0c99b04cf280f6b30e315521860315c8d65e27c7
Name | Last commit | Last update |
---|---|---|
.. | ||
JAVA-HOWTO.md | ||
TINKEY.md |