Documentation ¶
Index ¶
- Variables
- func FormatPublicEd25519(pub *crypto.PublicKey) string
- func ParsePrivateKeyFile(ascii []byte) (crypto.PublicKey, *crypto.Ed25519Signer, error)
- func ParsePublicEd25519(asciiKey string) (crypto.PublicKey, error)
- func ParseSignatureFile(ascii []byte, pub *crypto.PublicKey, namespace string) (crypto.Signature, error)
- func SignedData(namespace string, msg []byte) []byte
- func SignedDataFromHash(namespace string, hash *crypto.Hash) []byte
- func WritePrivateKeyFile(w io.Writer, signer *crypto.Ed25519Signer) error
- func WriteSignatureFile(w io.Writer, publicKey *crypto.PublicKey, namespace string, ...) error
- type Connection
- type Signer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParsePrivateKeyFile ¶ added in v0.1.16
func ParsePublicEd25519 ¶ added in v0.1.10
func ParseSignatureFile ¶ added in v0.1.11
Types ¶
type Connection ¶ added in v0.1.10
type Connection struct {
// contains filtered or unexported fields
}
func Connect ¶ added in v0.1.10
func Connect() (*Connection, error)
func ConnectTo ¶ added in v0.1.10
func ConnectTo(sockName string) (*Connection, error)
Click to show internal directories.
Click to hide internal directories.