Documentation
¶
Index ¶
- func IsNoIdentityMatchError(err error) bool
- type Identity
- func (identity *Identity) GenerateIfNecessary() (err error)
- func (identity *Identity) IsDisabled() bool
- func (identity *Identity) IsEmpty() bool
- func (identity *Identity) MarshalText() (b []byte, err error)
- func (identity *Identity) Set(path_or_identity string) (err error)
- func (identity *Identity) SetFromPath(path string) (err error)
- func (identity *Identity) SetFromX25519Identity(identityString string) (err error)
- func (identity *Identity) SetX25519Identity(x *age.X25519Identity)
- func (identity *Identity) String() string
- func (identity *Identity) UnmarshalText(b []byte) (err error)
- func (identity Identity) Unwrap(stanzas []*age.Stanza) (fileKey []byte, err error)
- func (identity *Identity) WrapReader(src io.Reader) (out io.ReadCloser, err error)
- func (identity *Identity) WrapWriter(dst io.Writer) (out io.WriteCloser, err error)
- type NoIdentityMatchError
- type Recipient
- type Recipients
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Identity ¶
func (*Identity) SetFromX25519Identity ¶
func (*Identity) SetX25519Identity ¶
func (identity *Identity) SetX25519Identity(x *age.X25519Identity)
func (Identity) Unwrap ¶
func (*Identity) WrapReader ¶
type NoIdentityMatchError ¶
type NoIdentityMatchError = age.NoIdentityMatchError
type Recipient ¶
type Recipient struct {
// contains filtered or unexported fields
}
Source Files
¶
- errors.go
- identity.go
- recipient.go
- recipients.go
- write_closer.go
Click to show internal directories.
Click to hide internal directories.