Package com.helixframework.crypto.aead
Class StreamingAeadCryptoFactory
java.lang.Object
com.helixframework.crypto.aead.StreamingAeadCryptoFactory
Factory for creating instances of
StreamingAeadCrypto clients.-
Method Summary
Modifier and TypeMethodDescriptioncreate(com.google.crypto.tink.KeysetHandle keysetHandle) Creates a newStreamingAeadCryptoimplementation for the supplied keyset handle.static StreamingAeadCryptoFactoryGets the singleton instance of this factory.
-
Method Details
-
getInstance
Gets the singleton instance of this factory.- Returns:
- an
StreamingAeadCryptoFactoryinstance
-
create
Creates a newStreamingAeadCryptoimplementation for the supplied keyset handle.- Parameters:
keysetHandle- keyset handle- Returns:
- an
StreamingAeadCrypto
-