You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Picking this back up since our prototype from last year is finally being moved towards production :)
CredentialRecord (the interface type for CredentialRepositoryV2) requires implementers to provide a getter the COSE-encoded public key. Its javadoc refers to a convenience helper cosePublicKeyFromEs256Raw for converting from ES256 raw to COSE.
Would it be possible to add an additional helper for converting from java PublicKey to COSE? (This is adjacent to #288 from last year.)
Our business case: we need to submit the credential public key to an external server on registration, and receive a certificate for that public key in return. We store the certificate indexed by the credential id, which allows us to find it again at authentication time.
At this point, we end up with a X509Certificate, which provides a java.security.PublicKey. Similar to #288, I am trying to go from there to the COSE_Key required by the library without implementing COSE encoding.
The text was updated successfully, but these errors were encountered:
Picking this back up since our prototype from last year is finally being moved towards production :)
CredentialRecord
(the interface type forCredentialRepositoryV2
) requires implementers to provide a getter the COSE-encoded public key. Its javadoc refers to a convenience helpercosePublicKeyFromEs256Raw
for converting from ES256 raw to COSE.Would it be possible to add an additional helper for converting from java
PublicKey
to COSE? (This is adjacent to #288 from last year.)Our business case: we need to submit the credential public key to an external server on registration, and receive a certificate for that public key in return. We store the certificate indexed by the credential id, which allows us to find it again at authentication time.
At this point, we end up with a
X509Certificate
, which provides ajava.security.PublicKey
. Similar to #288, I am trying to go from there to the COSE_Key required by the library without implementing COSE encoding.The text was updated successfully, but these errors were encountered: