Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMalformedFingerprint = errors.New("malformed GPG key fingerprint")
Functions ¶
This section is empty.
Types ¶
type Fingerprint ¶
type Fingerprint [20]byte
func ParseFingerprintBytes ¶
func ParseFingerprintBytes(b []byte) (p Fingerprint, err error)
func ParseFingerprintHex ¶
func ParseFingerprintHex(s string) (p Fingerprint, err error)
type Fingerprints ¶
type Fingerprints []Fingerprint
func ParseFingerprintsBytes ¶
func ParseFingerprintsBytes(bs ...[]byte) (Fingerprints, error)
func ParseFingerprintsHex ¶
func ParseFingerprintsHex(ss ...string) (Fingerprints, error)
func (Fingerprints) Bytes ¶
func (fs Fingerprints) Bytes() [][]byte
func (Fingerprints) Equal ¶
func (as Fingerprints) Equal(bs Fingerprints) bool
func (Fingerprints) Has ¶
func (as Fingerprints) Has(b Fingerprint) bool
func (Fingerprints) HasDuplicate ¶
func (fs Fingerprints) HasDuplicate() bool
func (Fingerprints) Sort ¶
func (fs Fingerprints) Sort()
Click to show internal directories.
Click to hide internal directories.