Package web5.sdk.dids

Class Service

  • All Implemented Interfaces:

    
    public final class Service
    
                        

    Represents a service within a DID document.

    A Service describes an endpoint that can be used to interact with the DID subject, such as communication, discovery, or storage services.

    • 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 getId() The ID of the service.
      final String getType() The type of service.
      final List<String> getServiceEndpoint() A list of endpoints where the service can be accessed.
      • Methods inherited from class java.lang.Object

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