Uses of Interface
com.google.crypto.tink.KeysetWriter
-
Packages that use KeysetWriter Package Description com.google.crypto.tink com.google.crypto.tink.integration.android -
-
Uses of KeysetWriter in com.google.crypto.tink
Classes in com.google.crypto.tink that implement KeysetWriter Modifier and Type Class Description classBinaryKeysetWriterAKeysetWriterthat can write to some source cleartext or encrypted keysets in proto binary wire format.classJsonKeysetWriterDeprecated.Serialize the Keyset usingTinkJsonProtoKeysetFormat.serializeKeyset()instead.Methods in com.google.crypto.tink that return KeysetWriter Modifier and Type Method Description static KeysetWriterBinaryKeysetWriter. withFile(java.io.File file)Deprecated.Inline the function.static KeysetWriterJsonKeysetWriter. withFile(java.io.File file)Deprecated.Method should be inlined.static KeysetWriterBinaryKeysetWriter. withOutputStream(java.io.OutputStream stream)Static method to create a BinaryKeysetWriter that writes to anOutputStream.static KeysetWriterJsonKeysetWriter. withOutputStream(java.io.OutputStream stream)Deprecated.Static method to create a JsonKeysetWriter that writes to anOutputStream.static KeysetWriterJsonKeysetWriter. withPath(java.lang.String path)Deprecated.Method should be inlined.static KeysetWriterJsonKeysetWriter. withPath(java.nio.file.Path path)Deprecated.Method should be inlined.Methods in com.google.crypto.tink with parameters of type KeysetWriter Modifier and Type Method Description static voidLegacyKeysetSerialization. serializeEncryptedKeyset(KeysetHandle keysetHandle, KeysetWriter writer, Aead aead, byte[] associatedData)Serialize a keyset in an encrypted format to the writer.static voidLegacyKeysetSerialization. serializeKeyset(KeysetHandle keysetHandle, KeysetWriter writer, SecretKeyAccess access)Serialize a keyset to the writer.static voidLegacyKeysetSerialization. serializeKeysetWithoutSecret(KeysetHandle keysetHandle, KeysetWriter writer)Serialize a keyset to the writer.static voidCleartextKeysetHandle. write(KeysetHandle handle, KeysetWriter keysetWriter)Serializes and writes theKeysetmanaged byhandletokeysetWriter.voidKeysetHandle. write(KeysetWriter keysetWriter, Aead masterKey)Deprecated.New users should prefer TinkProtoKeysetFormat.voidKeysetHandle. writeNoSecret(KeysetWriter writer)Deprecated.New users should prefer TinkProtoKeysetFormat.voidKeysetHandle. writeWithAssociatedData(KeysetWriter keysetWriter, Aead masterKey, byte[] associatedData)Deprecated.New users should prefer TinkProtoKeysetFormat. -
Uses of KeysetWriter in com.google.crypto.tink.integration.android
Classes in com.google.crypto.tink.integration.android that implement KeysetWriter Modifier and Type Class Description classSharedPrefKeysetWriterAKeysetWriterthat can write keysets to private shared preferences on Android.
-