Class CreateDidKeyOptions

  • All Implemented Interfaces:
    web5.sdk.dids.CreateDidOptions

    
    public final class CreateDidKeyOptions
     implements CreateDidOptions
                        

    Specifies options for creating a new "did:key" Decentralized Identifier (DID).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final AlgorithmId algorithmId
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final AlgorithmId getAlgorithmId() Specifies the algorithmId to be used for key creation.
      • Methods inherited from class java.lang.Object

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

      • CreateDidKeyOptions

        CreateDidKeyOptions(AlgorithmId algorithmId)
        Creates an instance of CreateDidKeyOptions with the provided algorithmId.
    • Method Detail

      • getAlgorithmId

         final AlgorithmId getAlgorithmId()

        Specifies the algorithmId to be used for key creation. Defaults to ES256K (Elliptic Curve Digital Signature Algorithm with SHA-256 and secp256k1 curve).