Documentation ¶
Index ¶
- Variables
- type Encoding
- func (encoding *Encoding) Decode(attrs Property, reader io.Reader) ([]byte, error)
- func (encoding *Encoding) DecryptBytes(attrs Property, reader io.Reader) ([]byte, error)
- func (encoding *Encoding) Encode(privKey []byte, attrs Property, writer io.Writer) error
- func (encoding *Encoding) EncryptBytes(keyBytes []byte, attrs Property, writer io.Writer) error
- func (encoding *Encoding) Name() string
- type KdfParams
- type Property
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDecrypt = errors.New("could not decrypt key with given passphrase")
)
Errors
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
func (*Encoding) DecryptBytes ¶
func (*Encoding) EncryptBytes ¶
Click to show internal directories.
Click to hide internal directories.