fromECPublicKey

Generates a did:key from a Java ECPublicKey (P-256).

Return

The DID string

Parameters

publicKey

The EC public key (must be on the P-256 curve)