public class KeyResolver
extends java.lang.Object
Constructor and Description |
---|
KeyResolver() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.security.Key> |
readPublicKeys(java.lang.String publicKey,
java.util.function.Consumer<java.util.List<io.churchkey.Key>> validation) |
java.util.Optional<java.util.Map<java.lang.String,java.security.Key>> |
resolveDecryptKey(java.util.Optional<java.lang.String> keyContents,
java.util.Optional<java.lang.String> keyLocation) |
java.util.Optional<java.util.Map<java.lang.String,java.security.Key>> |
resolvePublicKey(java.util.Optional<java.lang.String> keyContents,
java.util.Optional<java.lang.String> keyLocation) |
public java.util.Optional<java.util.Map<java.lang.String,java.security.Key>> resolvePublicKey(java.util.Optional<java.lang.String> keyContents, java.util.Optional<java.lang.String> keyLocation)
public java.util.Optional<java.util.Map<java.lang.String,java.security.Key>> resolveDecryptKey(java.util.Optional<java.lang.String> keyContents, java.util.Optional<java.lang.String> keyLocation)
public java.util.Map<java.lang.String,java.security.Key> readPublicKeys(java.lang.String publicKey, java.util.function.Consumer<java.util.List<io.churchkey.Key>> validation)