tinktpm

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TPMClient

type TPMClient struct {
	registry.KMSClient
	// contains filtered or unexported fields
}

tpmClient represents a client that connects to the GCP KMS backend.

func NewClient

func NewClient(ctx context.Context, uriPrefix string, tpmPath string) (*TPMClient, error)

func (*TPMClient) GetAEAD

func (c *TPMClient) GetAEAD(keyURI string) (tink.AEAD, error)

GetAEAD gets an AEAD backend by keyURI.

func (*TPMClient) GetKeyURI

func (c *TPMClient) GetKeyURI(cr *tpmkmspb.TPMWrapped) (string, error)

func (*TPMClient) Supported

func (c *TPMClient) Supported(keyURI string) bool

Supported true if this client does support keyURI

Jump to

Keyboard shortcuts

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