Package com.google.crypto.tink
Interface KeysetWriter
-
- All Known Implementing Classes:
BinaryKeysetWriter,JsonKeysetWriter,SharedPrefKeysetWriter
public interface KeysetWriterA KeysetWriter knows how to write aKeysetor anEncryptedKeysetto some storage system.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(com.google.crypto.tink.proto.EncryptedKeyset keyset)Tries to write anEncryptedKeysetto some storage system.voidwrite(com.google.crypto.tink.proto.Keyset keyset)Tries to write aKeysetto some storage system.
-
-
-
Method Detail
-
write
void write(com.google.crypto.tink.proto.Keyset keyset) throws java.io.IOExceptionTries to write aKeysetto some storage system.- Throws:
java.io.IOException
-
write
void write(com.google.crypto.tink.proto.EncryptedKeyset keyset) throws java.io.IOExceptionTries to write anEncryptedKeysetto some storage system.- Throws:
java.io.IOException
-
-