signer

package
v0.0.0-...-92fefb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2019 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSshGcpKmsSigner

func NewSshGcpKmsSigner(keyUrl string) (ssh.Signer, error)

Types

type GcpKmsSigner

type GcpKmsSigner struct {
	// contains filtered or unexported fields
}

func NewGcpKmsSigner

func NewGcpKmsSigner(keyUrl string) (*GcpKmsSigner, error)

func (GcpKmsSigner) Public

func (g GcpKmsSigner) Public() crypto.PublicKey

PublicKey returns an associated PublicKey instance.

func (GcpKmsSigner) Sign

func (g GcpKmsSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL