google

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRequestCorrupted  = errors.New("AsymmetricSign: request corrupted in-transit")
	ErrResponseCorrupted = errors.New("AsymmetricSign: response corrupted in-transit")
)

Functions

func ComputeCRC32

func ComputeCRC32(data []byte) int64

ComputeCRC32 computes the CRC32C of the given byte slice.

func NewSigner

func NewSigner(client KeyManagementClient, keyName string) *signer

NewSigner creates a new Google Cloud KMS signer.

Types

type KeyManagementClient

type KeyManagementClient interface {
	AsymmetricSign(context.Context, *kmspb.AsymmetricSignRequest, ...gax.CallOption) (*kmspb.AsymmetricSignResponse, error)
}

KeyManagementClient is the interface for the Google Cloud KMS client.

Jump to

Keyboard shortcuts

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