Interface AsynchronousKeyFactory
-
- All Known Implementing Classes:
Rsa256AynchronousKeyFactory
- 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 AsynchronousKeyFactoryFactory for asynchronousKeyPair.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.security.KeyPaircreateAsynchronousKeyPair()Creates an asynchronousKeyPair.default voidinit(SourceContext context)Allows for theAsynchronousKeyFactoryto be configured.
-
-
-
Method Detail
-
init
default void init(SourceContext context)
Allows for theAsynchronousKeyFactoryto be configured.- Parameters:
context-SourceContext.
-
createAsynchronousKeyPair
java.security.KeyPair createAsynchronousKeyPair() throws java.lang.ExceptionCreates an asynchronousKeyPair.- Returns:
- Asynchronous
KeyPair. - Throws:
java.lang.Exception- If fails to create asynchronousKeyPair.
-
-