walletsdk
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
walletsdk
walletsdk
/
com.dewa.walletsdk.api.did
/
DidKey
/
Companion
Companion
object
Companion
Members
Functions
from
P256Public
Key
Link copied to clipboard
fun
fromP256PublicKey
(
x
:
ByteArray
,
y
:
ByteArray
)
:
String
generate
Did
Key
Link copied to clipboard
fun
generateDidKey
(
publicKey
:
ByteArray
)
:
String
Converts a P-256 public key (x, y) to a did:key identifier using multicodec and multibase encoding.
generate
Did
Key
From
Jwk
Link copied to clipboard
fun
generateDidKeyFromJwk
(
jwkJson
:
String
)
:
String
jwk
To
P256Public
Key
Link copied to clipboard
fun
jwkToP256PublicKey
(
publicKey
:
EcPublicKey
)
:
String