Enumeration DidDhtRegisteredKeyType

Enumerates the types of keys that can be used in a DID DHT document.

The DID DHT method supports various cryptographic key types. These key types are essential for the creation and management of DIDs and their associated cryptographic operations like signing and encryption. The registered key types are published in the DID DHT Registry and each is assigned a unique numerical value for use by client and gateway implementations.

The registered key types are published in the DID DHT Registry.

Enumeration Members

Enumeration Members

Ed25519: 0

Ed25519: A public-key signature system using the EdDSA (Edwards-curve Digital Signature Algorithm) and Curve25519.

X25519: 3

X25519: A public key used for Diffie-Hellman key exchange using Curve25519.

secp256k1: 1

secp256k1: A cryptographic curve used for digital signatures in a range of decentralized systems.

secp256r1: 2

secp256r1: Also known as P-256 or prime256v1, this curve is used for cryptographic operations and is widely supported in various cryptographic libraries and standards.