public interface PublicKeyEntryResolver
Modifier and Type | Field and Description |
---|---|
static PublicKeyEntryResolver |
FAILING
A resolver that fails on all input
|
static PublicKeyEntryResolver |
IGNORING
A resolver that ignores all input
|
Modifier and Type | Method and Description |
---|---|
PublicKey |
resolve(String keyType,
byte[] keyData) |
static final PublicKeyEntryResolver IGNORING
static final PublicKeyEntryResolver FAILING
PublicKey resolve(String keyType, byte[] keyData) throws IOException, GeneralSecurityException
keyType
- The OpenSSH
reported key typekeyData
- The OpenSSH
encoded key dataPublicKey
- ignored if null
IOException
- If failed to parse the key dataGeneralSecurityException
- If failed to generate the keyCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.