Documentation ¶
Index ¶
- func FormatPrivateKeyForPEMEnvVar(privateKey *rsa.PrivateKey) (string, error)
- func FormatPrivateKeyForPEMFile(privateKey *rsa.PrivateKey) (string, error)
- func FormatPublicKeyForPEMEnvVar(publicKey *rsa.PublicKey) (string, error)
- func FormatPublicKeyForPEMFile(publicKey *rsa.PublicKey) (string, error)
- func ReadPrivateKeyFromPEM(pemContents []byte) (*rsa.PrivateKey, error)
- func ReadPrivateKeyFromPEMEnvVar(envVarValue string) (*rsa.PrivateKey, error)
- func ReadPrivateKeyFromPEMFile(filepath string) (*rsa.PrivateKey, error)
- func ReadPublicKeyFromPEM(pemContents []byte) (*rsa.PublicKey, error)
- func ReadPublicKeyFromPEMEnvVar(envVarValue string) (*rsa.PublicKey, error)
- func ReadPublicKeyFromPEMFile(filepath string) (*rsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPrivateKeyForPEMEnvVar ¶
func FormatPrivateKeyForPEMEnvVar(privateKey *rsa.PrivateKey) (string, error)
func FormatPrivateKeyForPEMFile ¶
func FormatPrivateKeyForPEMFile(privateKey *rsa.PrivateKey) (string, error)
func ReadPrivateKeyFromPEM ¶
func ReadPrivateKeyFromPEM(pemContents []byte) (*rsa.PrivateKey, error)
func ReadPrivateKeyFromPEMEnvVar ¶
func ReadPrivateKeyFromPEMEnvVar(envVarValue string) (*rsa.PrivateKey, error)
func ReadPrivateKeyFromPEMFile ¶
func ReadPrivateKeyFromPEMFile(filepath string) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.