Package web5.sdk.dids

Object PortableDid.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final PortableDid fromJsonString(String json) Constructs a PortableDid from a JSON string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fromJsonString

         final PortableDid fromJsonString(String json)

        Constructs a PortableDid from a JSON string.

        This method parses a JSON string and constructs a PortableDid instance using Rust core functionality.

        Parameters:
        json - The JSON string representing the portable DID.
        Returns:

        A PortableDid object.