-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
None
As the comment in NamedKeyPairGenerator says:
/// Note: A limitation of `NamedKeyPairGenerator` and `NamedKeyFactory` is
/// that the keys generated by their implementations will always be of type
/// `NamedX509Key` or `NamedPKCS8Key`. Existing implementations of algorithms
/// like EdDSA and XDH have been generating keys implementing `EdECKey` or
/// `XECKey` interfaces, and they are not rewritten with this framework.
/// `NamedParamterSpec` fields not implemented with this framework include
/// Ed25519, Ed448, X25519, and X448.
We can investigate how to solve this limitation.
/// Note: A limitation of `NamedKeyPairGenerator` and `NamedKeyFactory` is
/// that the keys generated by their implementations will always be of type
/// `NamedX509Key` or `NamedPKCS8Key`. Existing implementations of algorithms
/// like EdDSA and XDH have been generating keys implementing `EdECKey` or
/// `XECKey` interfaces, and they are not rewritten with this framework.
/// `NamedParamterSpec` fields not implemented with this framework include
/// Ed25519, Ed448, X25519, and X448.
We can investigate how to solve this limitation.
- relates to
-
JDK-8340327 A common framework to support public key algorithms with standard parameter sets
- Resolved