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 SynchronousKeyFactoryFactory for synchronousKey.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.security.KeycreateSynchronousKey()Creates a synchronousKey.default voidinit(SourceContext context)Allows for theSynchronousKeyFactoryto be configured.
-
-
-
Method Detail
-
init
default void init(SourceContext context)
Allows for theSynchronousKeyFactoryto be configured.- Parameters:
context-SourceContext.
-
createSynchronousKey
java.security.Key createSynchronousKey() throws java.lang.ExceptionCreates a synchronousKey.- Returns:
- Synchronous
Key. - Throws:
java.lang.Exception- If fails to create synchronousKey.
-
-