Documentation
¶
Index ¶
- func NewEd25519(rand io.Reader) (ed25519.PublicKey, ed25519.PrivateKey, error)
- func NewRSA(size int) (*rsa.PublicKey, *rsa.PrivateKey, error)
- func PrivateToPEM(priv crypto.Signer) (block pem.Block)
- func PublicToPEM(pub crypto.PublicKey) (block pem.Block, err error)
- func ReadInPrivateKey(r io.Reader) (crypto.Signer, error)
- func UnmarshalPublic(data []byte) (crypto.PublicKey, error)
- func WriteOutPrivateKey(priv crypto.Signer, w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEd25519 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.