Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrvKey ¶
func GetPrvKey(filePath string) (caesar.PrivateKey, error)
Get the private key from the specified file path. If the file path is an empty string, search and get the default private key. If a passphrase is set for the private key, have the passphrase entered from the terminal.
func ParsePrvKey ¶
func ParsePrvKey(bytes []byte) (caesar.PrivateKey, error)
func ParsePrvKeyWithPass ¶
func ParsePrvKeyWithPass(bytes []byte, passphrase string) (caesar.PrivateKey, error)
func ReadPrvKey ¶
func SearchPrvKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.