withkey

package
v0.0.0-...-222ab80 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignPluginWithPrivateKey

func SignPluginWithPrivateKey(
	plugin []byte,
	verification *decoder.Verification,
	privateKey *rsa.PrivateKey,
) ([]byte, error)

SignPluginWithPrivateKey is a function that signs a plugin It takes a plugin as a stream of bytes and a private key to sign it with RSA-4096

func TraditionalSignPlugin

func TraditionalSignPlugin(
	plugin []byte,
	privateKey *rsa.PrivateKey,
) ([]byte, error)

Only used for testing WARNING: This function is deprecated, use SignPluginWithPrivateKey instead

Types

This section is empty.

Jump to

Keyboard shortcuts

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