tpp

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

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

Key represents a remote key in the Azure Key Vault.

func (*Key) Certificate

func (k *Key) Certificate(ctx context.Context) (*x509.Certificate, error)

Certificate returns the X.509 certificate associated with the key.

func (*Key) Sign

func (k *Key) Sign(ctx context.Context, algorithm string, digest []byte) ([]byte, error)

Sign signs the message digest with the algorithm provided.

Jump to

Keyboard shortcuts

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