Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Signer ¶
type Signer interface {
// Sign signs data and returns signature value.
Sign(data []byte) ([]byte, error)
// Headers provides required JWS protected headers. It provides information about signing key and algorithm.
Headers() jws.Headers
}
Signer defines JWS Signer interface that will be used to sign required data in Sidetree request.
Click to show internal directories.
Click to hide internal directories.