Documentation
¶
Index ¶
- func DecodeEDDSAPubKey(encodedKey []byte) (*edwards.PublicKey, error)
- func EncodeEDDSAPubKey(pubKey *edwards.PublicKey) ([]byte, error)
- func EncodeS256PubKey(pubKey *ecdsa.PublicKey) ([]byte, error)
- func JsonBytesToStruct(data []byte, v interface{}) error
- func StructToJsonBytes(v interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonBytesToStruct ¶
JsonBytesToStruct converts JSON bytes to a struct
func StructToJsonBytes ¶
StructToJsonBytes converts a struct to JSON bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.