Package web5.sdk.dids.methods.jwk
Object DidJwk.Companion
-
- All Implemented Interfaces:
public class DidJwk.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static DidJwk.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BearerDidcreate(DidJwkCreateOptions options)Creates a new "did:jwk" DID using the provided options. -
-
Method Detail
-
create
final BearerDid create(DidJwkCreateOptions options)
Creates a new "did:jwk" DID using the provided options.
This method generates a "did:jwk" DID by creating a key pair and constructing a DID document based on the JWK format. The method-specific identifier is derived from the public key.
- Parameters:
options- The options to configure the DID creation.- Returns:
A BearerDid object representing the newly created "did:jwk" DID.
-
-
-
-