Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PGPPublicKey ¶
type PGPPublicKey struct {
// contains filtered or unexported fields
}
PGPPublicKey Public Key that follows the PGP standard; supports both armored & binary detached signatures
func FetchPGPPublicKey ¶
func FetchPGPPublicKey(ctx context.Context, url string) (*PGPPublicKey, error)
FetchPGPPublicKey implements pki.PublicKey interface
func NewPGPPublicKey ¶
func NewPGPPublicKey(r io.Reader) (*PGPPublicKey, error)
NewPGPPublicKey implements the pki.PublicKey interface
func (PGPPublicKey) CanonicalValue ¶
func (k PGPPublicKey) CanonicalValue() ([]byte, error)
CanonicalValue implements the pki.PublicKey interface
type PGPSignature ¶
type PGPSignature struct {
// contains filtered or unexported fields
}
PGPSignature Signature that follows the PGP standard; supports both armored & binary detached signatures
func FetchPGPSignature ¶
func FetchPGPSignature(ctx context.Context, url string) (*PGPSignature, error)
Fetch implements pki.Signature interface
func NewPGPSignature ¶
func NewPGPSignature(r io.Reader) (*PGPSignature, error)
NewPGPSignature creates and validates a PGP signature object
func (PGPSignature) CanonicalValue ¶
func (s PGPSignature) CanonicalValue() ([]byte, error)
CanonicalValue implements the pki.Signature interface
Click to show internal directories.
Click to hide internal directories.