public class ECBufferPublicKeyParser extends AbstractBufferPublicKeyParser<java.security.interfaces.ECPublicKey>
| Modifier and Type | Field and Description |
|---|---|
static ECBufferPublicKeyParser |
INSTANCE |
DEFAULT, EMPTY| Constructor and Description |
|---|
ECBufferPublicKeyParser() |
| Modifier and Type | Method and Description |
|---|---|
protected java.security.interfaces.ECPublicKey |
getRawECKey(java.lang.String expectedCurve,
java.security.spec.ECParameterSpec spec,
Buffer buffer) |
java.security.interfaces.ECPublicKey |
getRawPublicKey(java.lang.String keyType,
Buffer buffer) |
generatePublicKey, getKeyClass, getKeyFactory, getSupportedKeyTypes, isKeyTypeSupported, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregatepublic static final ECBufferPublicKeyParser INSTANCE
public java.security.interfaces.ECPublicKey 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 keyprotected java.security.interfaces.ECPublicKey getRawECKey(java.lang.String expectedCurve,
java.security.spec.ECParameterSpec spec,
Buffer buffer)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityException