Package web5.sdk.dids.methods.key
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).
-
-
Field Summary
Fields Modifier and Type Field Description private final AlgorithmIdalgorithmId
-
Constructor Summary
Constructors Constructor Description CreateDidKeyOptions(AlgorithmId algorithmId)Creates an instance of CreateDidKeyOptions with the provided algorithmId.
-
Method Summary
Modifier and Type Method Description final AlgorithmIdgetAlgorithmId()Specifies the algorithmId to be used for key creation. -
-
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).
-
-
-
-