public class AlgorithmParametersSpi
extends java.security.AlgorithmParametersSpi
EdDSAParameterSpec. These parameters have no encoded form: RFC 8410 specifies the
EdDSA AlgorithmIdentifier with absent parameters, and the prehash flag / context are not part of
any standard ASN.1 parameter structure, so engineGetEncoded / engineInit(byte[])
throw IOException. The class exists as a spec container so that Signature.getParameters()
can report the selected instance and callers can copy it between Signature objects.| Modifier and Type | Class and Description |
|---|---|
static class |
AlgorithmParametersSpi.Ed25519 |
static class |
AlgorithmParametersSpi.Ed448 |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded() |
protected byte[] |
engineGetEncoded(java.lang.String format) |
protected java.security.spec.AlgorithmParameterSpec |
engineGetParameterSpec(java.lang.Class paramSpec) |
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) |
protected void |
engineInit(byte[] params) |
protected void |
engineInit(byte[] params,
java.lang.String format) |
protected java.lang.String |
engineToString() |
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineInit in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected void engineInit(byte[] params)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected void engineInit(byte[] params,
java.lang.String format)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected byte[] engineGetEncoded()
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected byte[] engineGetEncoded(java.lang.String format)
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected java.lang.String engineToString()
engineToString in class java.security.AlgorithmParametersSpi