Object BearerDid.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • import

        @JvmOverloads() final BearerDid import(PortableDid portableDid, KeyManager keyManager)

        Instantiates a BearerDid object from a given PortableDid.

        This method allows for the creation of a BearerDid object using a previously created DID's key material, DID document, and metadata.

        Parameters:
        portableDid -
        • The PortableDid object to import.

        keyManager -
        • Optionally specify an external Key Management System (KMS) used to generate keys and sign data. If not given, a new LocalKeyManager instance will be created and used.

      • import

        @JvmOverloads() final BearerDid import(PortableDid portableDid)

        Instantiates a BearerDid object from a given PortableDid.

        This method allows for the creation of a BearerDid object using a previously created DID's key material, DID document, and metadata.

        Parameters:
        portableDid -
        • The PortableDid object to import.