Documentation ¶
Index ¶
- func FetchRsaKey(url string) (*rsa.PublicKey, error)
- func LoadRsaKeyFile(path string) (*rsa.PublicKey, error)
- func LoadRsaKeys(keys []string) ([]*rsa.PublicKey, error)
- func LoadRsaPrivateKeyFile(path string) (*rsa.PrivateKey, error)
- func LoadRsaPublicKey(key string) (*rsa.PublicKey, error)
- func ParseKeyType(key string) rsaKeyType
- func ParsePEM(c []byte) (*rsa.PublicKey, error)
- func ParsePrivateKey(c []byte) (*rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRsaPrivateKeyFile ¶
func LoadRsaPrivateKeyFile(path string) (*rsa.PrivateKey, error)
func ParseKeyType ¶
func ParseKeyType(key string) rsaKeyType
parseKeyType determines if the provided path for the key is a file or a url
func ParsePrivateKey ¶
func ParsePrivateKey(c []byte) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.