Documentation
¶
Index ¶
- func LoadJSONWebKey(json []byte, pub bool) (map[string]JWKeyPair, error)
- func LoadJSONWebKeySet(jwkBytes []byte) ([]jose.JSONWebKey, error)
- func LoadKeyPair(data []byte, checkForPassword bool) (interface{}, interface{}, error)
- func LoadPrivateKey(data []byte, checkForPassword bool) (interface{}, error)
- func LoadPublicKey(data []byte, checkForPassword bool) (interface{}, error)
- func ReadKey(payload []byte, checkForPassword bool) []byte
- func ReadPassword() []byte
- func ResolveKeyPair(key interface{}, pub bool, kid string) (interface{}, interface{}, error)
- type JWKeyPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJSONWebKeySet ¶
func LoadJSONWebKeySet(jwkBytes []byte) ([]jose.JSONWebKey, error)
func LoadKeyPair ¶ added in v1.0.2
func LoadPrivateKey ¶
func LoadPublicKey ¶
func ReadPassword ¶ added in v1.0.2
func ReadPassword() []byte
func ResolveKeyPair ¶ added in v1.0.2
Types ¶
Click to show internal directories.
Click to hide internal directories.