Class ED25519BufferPublicKeyParser
- java.lang.Object
-
- org.apache.sshd.common.util.buffer.keys.AbstractBufferPublicKeyParser<PublicKey>
-
- org.apache.sshd.common.util.buffer.keys.ED25519BufferPublicKeyParser
-
- All Implemented Interfaces:
BufferPublicKeyParser<PublicKey>
public class ED25519BufferPublicKeyParser extends AbstractBufferPublicKeyParser<PublicKey>
TODO complete this when SSHD-440 is done- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static ED25519BufferPublicKeyParser
INSTANCE
-
Fields inherited from interface org.apache.sshd.common.util.buffer.keys.BufferPublicKeyParser
DEFAULT, EMPTY
-
-
Constructor Summary
Constructors Constructor Description ED25519BufferPublicKeyParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKey
getRawPublicKey(String keyType, Buffer buffer)
-
Methods inherited from class org.apache.sshd.common.util.buffer.keys.AbstractBufferPublicKeyParser
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final ED25519BufferPublicKeyParser INSTANCE
-
-
Method Detail
-
getRawPublicKey
public PublicKey getRawPublicKey(String keyType, Buffer buffer) throws GeneralSecurityException
- Parameters:
keyType
- The key type - e.g., "ssh-rsa", "ssh-dss"buffer
- TheBuffer
containing the encoded raw public key- Returns:
- The decoded
PublicKey
- Throws:
GeneralSecurityException
- If failed to generate the key
-
-