HashiCorp Vault Verifier API Reference
This document provides a concise API reference for the Vault Verifier
class within the Hedera DID SDK for JavaScript. This class is responsible for verifying signatures using HashiCorp Vault as the key store.
Class Diagram
The class diagram below illustrates the core methods of the Vault Verifier
interface for interacting with cryptographic keys stored in HashiCorp Vault.

Constructor
constructor
constructor(options: VerifierOptions)
Initializes a new Verifier
instance.
- Parameters
-
-
options
: (Required) An object containing the necessary options to create aVerifier
instance (refer to VerifierOptions Type for details).
-
Methods
Data Types
This section elaborates on the data types employed within the Verifier
class.
VerifierOptions Type
The VerifierOptions
type is an object that contains the necessary options to create a Verifier
instance.
Name | Type | Description |
---|---|---|
clientApi |
|
An internal API object that interacts with HashiCorp Vault. |
keyName |
|
A unique identifier for the key stored in HashiCorp Vault. |
Errors
Exception code | Description |
---|---|
|
When a Vault API call fails. Message contains the error details. |
Class Implementation
The Hashgraph DID SDK provides the Vault Verifier
class within its verifier-hashicorp-vault
package. For further details, refer to the @hashgraph-did-sdk-js/verifier-hashicorp-vault
package documentation.