Package web5.sdk.dids.did
Object BearerDid.Companion
-
- All Implemented Interfaces:
public class BearerDid.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static BearerDid.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BearerDidimport(PortableDid portableDid, KeyManager keyManager)Instantiates a BearerDid object from a given PortableDid. final BearerDidimport(PortableDid portableDid)Instantiates a BearerDid object from a given PortableDid. -
-
Method Detail
-
import
@JvmOverloads() final BearerDid import(PortableDid portableDid, KeyManager keyManager)
Instantiates a BearerDid object from a given PortableDid.
This method allows for the creation of a
BearerDidobject using a previously created DID's key material, DID document, and metadata.- Parameters:
portableDid-The PortableDid object to import.
keyManager-Optionally specify an external Key Management System (KMS) used to generate keys and sign data. If not given, a new LocalKeyManager instance will be created and used.
-
import
@JvmOverloads() final BearerDid import(PortableDid portableDid)
Instantiates a BearerDid object from a given PortableDid.
This method allows for the creation of a
BearerDidobject using a previously created DID's key material, DID document, and metadata.- Parameters:
portableDid-The PortableDid object to import.
-
-
-
-