Skip to content

Wrong algorithm name using the KeyFactory #1010

Closed
@FlorianTim

Description

@FlorianTim

java-docs-samples\iot\api-client\manager\src\main\java\com\example\cloud\iot\examples\MqttExample.java

from: KeyFactory kf = KeyFactory.getInstance("ES256");
to: KeyFactory kf = KeyFactory.getInstance("EC");

EC is the right name for the Elliptic Curve algorithm.

https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#KeyFactory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions