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