All Known Subinterfaces:
PublicKeyEntryDecoder <PUB,PRV>
All Known Implementing Classes:
AbstractPublicKeyEntryDecoder , DSSPublicKeyEntryDecoder , ECDSAPublicKeyEntryDecoder , Ed25519PublicKeyDecoder , GenericEd25519PublicKeyDecoder , OpenSSHCertificateDecoder , RSAPublicKeyDecoder , SkECDSAPublicKeyEntryDecoder , SkED25519PublicKeyEntryDecoder , Ssh2PublicKeyEntryDecoder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Author:
Apache MINA SSHD Project
Field Summary
Fields
A resolver that fails on all input
A resolver that ignores all input
Method Summary
All Methods Instance Methods Abstract Methods
Field Details
IGNORING
A resolver that ignores all input
FAILING
A resolver that fails on all input
Method Details
resolve
Parameters:
session - The SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).
keyType - The OpenSSH reported key type
keyData - The OpenSSH encoded key data
headers - Any headers that may have been available when data was read
Returns:
The extracted PublicKey - ignored if null
Throws:
IOException - If failed to parse the key data
GeneralSecurityException - If failed to generate the key