Documentation ¶
Index ¶
- func ReadFile(filename string) (content []byte)
- func ReadPrivateKey(privateKeyData []byte) (privateKey *rsa.PrivateKey, err error)
- func ReadPrivateKeyFile(filepath string) (privateKey *rsa.PrivateKey, err error)
- func ReadPublicKey(publicKeyData []byte) (publicKey *rsa.PublicKey, err error)
- func ReadPublicKeyFile(filepath string) (publicKey *rsa.PublicKey, err error)
- func WriteFile(content []byte, filename string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadPrivateKey ¶
func ReadPrivateKey(privateKeyData []byte) (privateKey *rsa.PrivateKey, err error)
func ReadPrivateKeyFile ¶
func ReadPrivateKeyFile(filepath string) (privateKey *rsa.PrivateKey, err error)
func ReadPublicKeyFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.