Documentation ¶
Index ¶
- func GetTrustedPGPPublicKeys(ctx context.Context, storage logical.Storage) ([]string, error)
- func Paths() []*framework.Path
- func SignDataStream(detachedSignatureOut io.Writer, dataStream io.Reader, key *RSASigningKey) error
- func VerifyPGPSignatures(pgpSignatures []string, signedReaderFunc func() (io.Reader, error), ...) ([]string, int, error)
- type RSASigningKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTrustedPGPPublicKeys ¶
func SignDataStream ¶
Types ¶
type RSASigningKey ¶
func GenerateRSASigningKey ¶
func GenerateRSASigningKey() (*RSASigningKey, error)
func ParseRSASigningKey ¶
func ParseRSASigningKey(in io.Reader) (*RSASigningKey, error)
func (*RSASigningKey) SerializeFull ¶
func (key *RSASigningKey) SerializeFull(out io.Writer) error
func (*RSASigningKey) SerializePrivateKey ¶
func (key *RSASigningKey) SerializePrivateKey(out io.Writer) error
func (*RSASigningKey) SerializePublicKey ¶
func (key *RSASigningKey) SerializePublicKey(out io.Writer) error
Click to show internal directories.
Click to hide internal directories.