Class DSSBufferPublicKeyParser
java.lang.Object
org.apache.sshd.common.util.buffer.keys.AbstractBufferPublicKeyParser<DSAPublicKey>
org.apache.sshd.common.util.buffer.keys.DSSBufferPublicKeyParser
- All Implemented Interfaces:
BufferPublicKeyParser<DSAPublicKey>
-
Field Summary
FieldsFields inherited from interface org.apache.sshd.common.util.buffer.keys.BufferPublicKeyParser
DEFAULT, EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sshd.common.util.buffer.keys.AbstractBufferPublicKeyParser
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DSSBufferPublicKeyParser
public DSSBufferPublicKeyParser()
-
-
Method Details
-
getRawPublicKey
- Parameters:
keyType- The key type - e.g., "ssh-rsa", "ssh-dss"buffer- TheBuffercontaining the encoded raw public key- Returns:
- The decoded
PublicKey - Throws:
GeneralSecurityException- If failed to generate the key
-