Package web5.sdk.dids
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 BearerDidfromPortableDid(PortableDid portableDid)Constructs a BearerDid instance from a PortableDid. -
-
Method Detail
-
fromPortableDid
final BearerDid fromPortableDid(PortableDid portableDid)
Constructs a BearerDid instance from a PortableDid.
This method allows you to create a
BearerDidfrom a portable representation of a DID, typically used for importing or exporting DIDs across different systems or platforms.- Parameters:
portableDid- The PortableDid object.- Returns:
A new instance of BearerDid.
-
-
-
-