Object DidWeb.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 BearerDid create(String domain, DidWebCreateOptions options) Creates a new "did:web" DID for a given domain using the provided options.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • create

         final BearerDid create(String domain, DidWebCreateOptions options)

        Creates a new "did:web" DID for a given domain using the provided options.

        This method generates a "did:web" DID by creating a key pair, constructing a DID document, and associating it with a web domain. The DID can include services, verification methods, and controllers.

        Parameters:
        domain - The domain for which to create the "did:web" DID.
        options - The options to configure the DID creation.
        Returns:

        A BearerDid object representing the newly created "did:web" DID.