public class OpenSSHCertPublicKeyParser extends AbstractBufferPublicKeyParser<OpenSshCertificate>
| Modifier and Type | Field and Description |
|---|---|
static OpenSSHCertPublicKeyParser |
INSTANCE |
static java.util.List<java.lang.String> |
KEY_TYPES |
DEFAULT, EMPTY| Constructor and Description |
|---|
OpenSSHCertPublicKeyParser() |
| Modifier and Type | Method and Description |
|---|---|
OpenSshCertificate |
getRawPublicKey(java.lang.String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregatepublic static final java.util.List<java.lang.String> KEY_TYPES
public static final OpenSSHCertPublicKeyParser INSTANCE
public OpenSshCertificate getRawPublicKey(java.lang.String keyType, Buffer buffer) throws java.security.GeneralSecurityException
keyType - The key type - e.g., "ssh-rsa", "ssh-dss"buffer - The Buffer containing the encoded raw public keyPublicKeyjava.security.GeneralSecurityException - If failed to generate the key