Class AlgorithmParametersSpi
java.lang.Object
java.security.AlgorithmParametersSpi
org.bouncycastle.jcajce.provider.asymmetric.edec.AlgorithmParametersSpi
- Direct Known Subclasses:
AlgorithmParametersSpi.Ed25519, AlgorithmParametersSpi.Ed448
AlgorithmParameters for the RFC 8032 EdDSA instance selectors (prehash / context) carried by
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]protected byte[]engineGetEncoded(String format) protected AlgorithmParameterSpecengineGetParameterSpec(Class paramSpec) protected voidengineInit(byte[] params) protected voidengineInit(byte[] params, String format) protected voidengineInit(AlgorithmParameterSpec paramSpec) protected String
-
Method Details
-
engineInit
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineInit
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineInit
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException - Specified by:
engineGetParameterSpecin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineGetEncoded
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetEncoded
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineToString
- Specified by:
engineToStringin classAlgorithmParametersSpi
-