Closed
Description
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
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
lesv commentedon Jan 28, 2018
@gguuss Can you comment?
fix Elliptic Curve algorithm name (GoogleCloudPlatform#1010)
gguuss commentedon Jan 30, 2018
I believe the JWT-based ES256 is correct , I may actually have the readme / documentation wrong and should correct that.
gguuss commentedon Jan 30, 2018
That said, the tests still pass and your pointer to the docs corroborates your point. I'll look into why the tests pass in both cases as we're testing adding EC and RSA devices.
gguuss commentedon Jan 30, 2018
Tested end-to-end and working for me, approving.
fix Elliptic Curve algorithm name (#1010) (#1011)
nnegrey commentedon Dec 5, 2018
This appears to have been resolved, closing the issue.
deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (…
deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (…
deps: update dependency com.google.cloud:google-cloud-core to v2.3.5 (#…
5 remaining items