@FunctionalInterface
public interface HostKeyIdentityProvider
Modifier and Type | Method and Description |
---|---|
static java.util.Iterator<? extends java.util.Map.Entry<java.security.KeyPair,java.util.List<java.security.cert.X509Certificate>>> |
iteratorOf(HostKeyIdentityProvider provider) |
java.lang.Iterable<? extends java.util.Map.Entry<java.security.KeyPair,java.util.List<java.security.cert.X509Certificate>>> |
loadHostKeys() |
static HostKeyIdentityProvider |
wrap(java.lang.Iterable<? extends java.security.KeyPair> pairs) |
static HostKeyIdentityProvider |
wrap(java.security.KeyPair... pairs) |
java.lang.Iterable<? extends java.util.Map.Entry<java.security.KeyPair,java.util.List<java.security.cert.X509Certificate>>> loadHostKeys()
Map.Entry
of key + certificates (which can be null
/empty)static java.util.Iterator<? extends java.util.Map.Entry<java.security.KeyPair,java.util.List<java.security.cert.X509Certificate>>> iteratorOf(HostKeyIdentityProvider provider)
static HostKeyIdentityProvider wrap(java.security.KeyPair... pairs)
static HostKeyIdentityProvider wrap(java.lang.Iterable<? extends java.security.KeyPair> pairs)