generator

package
v0.0.0-...-0a66d78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECDSA

type ECDSA struct {
	Curve   elliptic.Curve
	Comment string
	// contains filtered or unexported fields
}

func (*ECDSA) Encode

func (e *ECDSA) Encode(w io.Writer) error

func (*ECDSA) EncodePublic

func (e *ECDSA) EncodePublic(w io.Writer) error

func (*ECDSA) Generate

func (e *ECDSA) Generate() error

func (*ECDSA) Name

func (e *ECDSA) Name() string

type ED25519

type ED25519 struct {
	Comment string
	// contains filtered or unexported fields
}

func (*ED25519) Encode

func (e *ED25519) Encode(w io.Writer) error

func (*ED25519) EncodePublic

func (e *ED25519) EncodePublic(w io.Writer) error

func (*ED25519) Generate

func (e *ED25519) Generate() error

func (*ED25519) Name

func (e *ED25519) Name() string

type RSA

type RSA struct {
	BitSize int
	Comment string
	// contains filtered or unexported fields
}

func (*RSA) Encode

func (r *RSA) Encode(w io.Writer) error

func (*RSA) EncodePublic

func (r *RSA) EncodePublic(w io.Writer) error

func (*RSA) Generate

func (r *RSA) Generate() error

func (*RSA) Name

func (r *RSA) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL