Interface SynchronousKeyFactory
-
- All Known Implementing Classes:
AesSynchronousKeyFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SynchronousKeyFactory
Factory for synchronousKey
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.security.Key
createSynchronousKey()
Creates a synchronousKey
.default void
init(SourceContext context)
Allows for theSynchronousKeyFactory
to be configured.
-
-
-
Method Detail
-
init
default void init(SourceContext context)
Allows for theSynchronousKeyFactory
to be configured.- Parameters:
context
-SourceContext
.
-
createSynchronousKey
java.security.Key createSynchronousKey() throws java.lang.Exception
Creates a synchronousKey
.- Returns:
- Synchronous
Key
. - Throws:
java.lang.Exception
- If fails to create synchronousKey
.
-
-