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 ¶
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.
Click to show internal directories.
Click to hide internal directories.