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.
Click to show internal directories.
Click to hide internal directories.