ekmclient

package
v0.0.0-...-ce7e112 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 13 Imported by: 0

Documentation

Overview

Package ekmclient defines an HTTP client for contacting Confidential EKM services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfidentialEKMClient

type ConfidentialEKMClient struct {
	URI       string
	AuthToken string
	CertPool  *x509.CertPool
}

ConfidentialEKMClient is an HTTP client that has methods for making requests to a server implementing the EKM UDE protocol.

func NewConfidentialEKMClient

func NewConfidentialEKMClient(uri string) ConfidentialEKMClient

NewConfidentialEKMClient constructs a new ConfidentialEKMClient against the given URI.

func (ConfidentialEKMClient) BeginSession

func (ConfidentialEKMClient) ConfidentialUnwrap

func (ConfidentialEKMClient) ConfidentialWrap

func (ConfidentialEKMClient) EndSession

func (ConfidentialEKMClient) Finalize

func (ConfidentialEKMClient) GetJWTToken

func (c ConfidentialEKMClient) GetJWTToken() string

GetJWTToken gets the JWT associated with the client. Test-only method.

func (ConfidentialEKMClient) Handshake

func (ConfidentialEKMClient) NegotiateAttestation

func (*ConfidentialEKMClient) SetJWTToken

func (c *ConfidentialEKMClient) SetJWTToken(token string)

SetJWTToken sets the JWT associated with the client. Test-only method.

Jump to

Keyboard shortcuts

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