public class ED25519BufferPublicKeyParser extends AbstractBufferPublicKeyParser<PublicKey>
Modifier and Type | Field and Description |
---|---|
static ED25519BufferPublicKeyParser |
INSTANCE |
DEFAULT, EMPTY
Constructor and Description |
---|
ED25519BufferPublicKeyParser() |
Modifier and Type | Method and Description |
---|---|
PublicKey |
getRawPublicKey(String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
aggregate
public static final ED25519BufferPublicKeyParser INSTANCE
public PublicKey getRawPublicKey(String keyType, Buffer buffer) throws GeneralSecurityException
keyType
- The key type - e.g., "ssh-rsa", "ssh-dss"buffer
- The Buffer
containing the encoded raw public keyPublicKey
GeneralSecurityException
- If failed to generate the keyCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.