Documentation
¶
Overview ¶
Package api include interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
// PublicKeyJWK return public key in JWK format
PublicKeyJWK() *jws.JWK
}
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.