public class DSSBufferPublicKeyParser extends AbstractBufferPublicKeyParser<DSAPublicKey>
| Modifier and Type | Field and Description |
|---|---|
static DSSBufferPublicKeyParser |
INSTANCE |
DEFAULT, EMPTY| Constructor and Description |
|---|
DSSBufferPublicKeyParser() |
| Modifier and Type | Method and Description |
|---|---|
DSAPublicKey |
getRawPublicKey(String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregatepublic static final DSSBufferPublicKeyParser INSTANCE
public DSAPublicKey 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 keyPublicKeyGeneralSecurityException - If failed to generate the keyCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.