Class PortableDid

  • All Implemented Interfaces:

    
    public final class PortableDid
    
                        

    PortableDid is a serializable BearerDid that documents the key material and metadata of a Decentralized Identifier (DID) to enable usage of the DID in different contexts.

    This format is useful for exporting, saving to a file, or importing a DID across process boundaries or between different DID method implementations.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUri() The URI of the DID.
      final List<Jwk> getPrivateKeys() The private keys associated with the PortableDid.
      final DidDocument getDocument() The DID Document associated with the PortableDid.
      final Map<String, Object> getMetadata() Additional metadata associated with the PortableDid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait