Package com.helixframework.crypto.aead
Class StreamingAeadKeysetHandleFactory
java.lang.Object
com.helixframework.crypto.aead.StreamingAeadKeysetHandleFactory
Factory for creating keyset handles.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.crypto.tink.KeysetHandlecreate()Generates a newKeysetHandle.Gets the singleton instance of this factory.
-
Method Details
-
getInstance
Gets the singleton instance of this factory.- Returns:
- a
StreamingAeadKeysetHandleFactoryinstance
-
create
Generates a newKeysetHandle.- Returns:
- a new keyset handle
- Throws:
GeneralSecurityException- if the keyset handle cannot be generated
-