Documentation ¶
Index ¶
- Variables
- func GetJWSKID(payload []byte) (string, error)
- func ParseJWS(response []byte, history []json.RawMessage) (msg []byte, err error)
- func PrepareJWS(req map[string]interface{}, kid string, sk ed25519.PrivateKey) ([]byte, error)
- func PrepareRecipients(recipients, excludedDevices []string, api RestTransport) ([]string, error)
- type RestTransport
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadJSONPayload = errors.New("bad json payload") ErrResponseBadSignature = errors.New("bad response signature") )
Functions ¶
func PrepareJWS ¶
func PrepareRecipients ¶
func PrepareRecipients(recipients, excludedDevices []string, api RestTransport) ([]string, error)
Types ¶
type RestTransport ¶
Click to show internal directories.
Click to hide internal directories.