Documentation ¶
Index ¶
- func FromPrivatePEMBytes(b []byte, scheme sign.Scheme) (sign.PrivateKey, error)
- func FromPrivatePEMFile(f string, scheme sign.Scheme) (sign.PrivateKey, error)
- func FromPrivatePEMString(s string, scheme sign.Scheme) (sign.PrivateKey, error)
- func FromPublicPEMBytes(b []byte, scheme sign.Scheme) (sign.PublicKey, error)
- func FromPublicPEMFile(f string, scheme sign.Scheme) (sign.PublicKey, error)
- func FromPublicPEMString(s string, scheme sign.Scheme) (sign.PublicKey, error)
- func FromPublicPEMToBytes(b []byte, scheme sign.Scheme) ([]byte, error)
- func PrivateKeyToFile(f string, key sign.PrivateKey) error
- func PublicKeyToFile(f string, key sign.PublicKey) error
- func ToPrivatePEMBytes(key sign.PrivateKey) []byte
- func ToPrivatePEMString(key sign.PrivateKey) string
- func ToPublicPEMBytes(key sign.PublicKey) []byte
- func ToPublicPEMString(key sign.PublicKey) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPrivatePEMBytes ¶
func FromPrivatePEMFile ¶
func FromPrivatePEMString ¶
func FromPublicPEMBytes ¶
func FromPublicPEMFile ¶
func FromPublicPEMString ¶
func PrivateKeyToFile ¶
func PrivateKeyToFile(f string, key sign.PrivateKey) error
func ToPrivatePEMBytes ¶
func ToPrivatePEMBytes(key sign.PrivateKey) []byte
func ToPrivatePEMString ¶
func ToPrivatePEMString(key sign.PrivateKey) string
func ToPublicPEMBytes ¶
func ToPublicPEMString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.