Package web5.sdk.dids
Class VerificationMethod
-
- All Implemented Interfaces:
public final class VerificationMethodRepresents a verification method within a DID document.
A
VerificationMethoddescribes a cryptographic public key that can be used to authenticate or authorize interactions with the DID subject.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringtypeprivate final Stringcontrollerprivate final JwkpublicKeyJwk
-
Constructor Summary
Constructors Constructor Description VerificationMethod(String id, String type, String controller, Jwk publicKeyJwk)
-
Method Summary
Modifier and Type Method Description final StringgetId()The ID of the verification method. final StringgetType()The type of verification method (e.g., "JsonWebKey"). final StringgetController()The controller of the verification method. final JwkgetPublicKeyJwk()The public key in JWK format. -
-
Method Detail
-
getController
final String getController()
The controller of the verification method.
-
getPublicKeyJwk
final Jwk getPublicKeyJwk()
The public key in JWK format.
-
-
-
-