public class SkECBufferPublicKeyParser extends AbstractBufferPublicKeyParser<SkEcdsaPublicKey>
| Modifier and Type | Field and Description |
|---|---|
static SkECBufferPublicKeyParser |
INSTANCE |
DEFAULT, EMPTY| Constructor and Description |
|---|
SkECBufferPublicKeyParser() |
| Modifier and Type | Method and Description |
|---|---|
SkEcdsaPublicKey |
getRawPublicKey(java.lang.String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregatepublic static final SkECBufferPublicKeyParser INSTANCE
public SkEcdsaPublicKey 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