encryption

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	WithRawResponse *RawClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options *core.RequestOptions) *Client

func (*Client) Create

Create the new, pre-activated encryption key, without the key material.

func (*Client) CreatePublicWrappingKey

Create the public wrapping key to wrap your own encryption key material.

func (*Client) Delete

func (c *Client) Delete(
	ctx context.Context,

	kid string,
	opts ...option.RequestOption,
) error

Delete the custom provided encryption key with the given ID and move back to using native encryption key.

func (*Client) Get

Retrieve details of the encryption key with the given ID.

func (*Client) Import

Import wrapped key material and activate encryption key.

func (*Client) List

Retrieve details of all the encryption keys associated with your tenant.

func (*Client) Rekey

func (c *Client) Rekey(
	ctx context.Context,
	opts ...option.RequestOption,
) error

Perform rekeying operation on the key hierarchy.

type RawClient

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

func NewRawClient

func NewRawClient(options *core.RequestOptions) *RawClient

func (*RawClient) Delete

func (r *RawClient) Delete(
	ctx context.Context,

	kid string,
	opts ...option.RequestOption,
) (*core.Response[any], error)

func (*RawClient) Get

func (*RawClient) Rekey

func (r *RawClient) Rekey(
	ctx context.Context,
	opts ...option.RequestOption,
) (*core.Response[any], error)

Jump to

Keyboard shortcuts

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