Documentation ¶
Index ¶
- Variables
- type Module
- func (m *Module) Adopt(algorithm string, keyIn interface{}, isPublic bool) (*jose.JSONWebKey, error)
- func (m *Module) Generate(algorithm string, seedIn interface{}) (*jose.JSONWebKey, error)
- func (m *Module) Parse(source string) (*jose.JSONWebKey, error)
- func (m *Module) ParseKeySet(source string) ([]jose.JSONWebKey, error)
- func (m *Module) ParseRSA(privateKey string) (*rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedAlgorithm = errors.New("unsupported algorithm")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.