Documentation ¶
Index ¶
- func LoadPrivateKeyFromData(data []byte) (*rsa.PrivateKey, error)
- func LoadPrivateKeyFromFile(pemPath string) (*rsa.PrivateKey, error)
- func LoadPrivateKeyFromText(data string) (*rsa.PrivateKey, error)
- func LoadPublicKeyFromData(data []byte) (*rsa.PublicKey, error)
- func LoadPublicKeyFromFile(pemPath string) (*rsa.PublicKey, error)
- func LoadPublicKeyFromJWK(jwkString, kid string) (*rsa.PublicKey, error)
- func LoadPublicKeyFromText(data string) (*rsa.PublicKey, error)
- func PublicKeysJWK(keys map[string]*rsa.PublicKey) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateKeyFromData ¶
func LoadPrivateKeyFromData(data []byte) (*rsa.PrivateKey, error)
func LoadPrivateKeyFromFile ¶
func LoadPrivateKeyFromFile(pemPath string) (*rsa.PrivateKey, error)
func LoadPrivateKeyFromText ¶
func LoadPrivateKeyFromText(data string) (*rsa.PrivateKey, error)
func LoadPublicKeyFromJWK ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.