public class OpenSSHCertPublicKeyParser extends AbstractBufferPublicKeyParser<OpenSshCertificate>
| Modifier and Type | Field and Description |
|---|---|
static OpenSSHCertPublicKeyParser |
INSTANCE |
static List<String> |
KEY_TYPES |
DEFAULT, EMPTY| Constructor and Description |
|---|
OpenSSHCertPublicKeyParser() |
| Modifier and Type | Method and Description |
|---|---|
OpenSshCertificate |
getRawPublicKey(String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregatepublic static final OpenSSHCertPublicKeyParser INSTANCE
public OpenSshCertificate 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–2024 The Apache Software Foundation. All rights reserved.