internal

package
v0.0.0-...-48ac3e8 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyPairForTests

func CreateKeyPairForTests(t *testing.T, ks keystores.KeyStore, opts keystores.GenKeyPairOpts) (keystores.KeyPair, func(kp keystores.KeyPair))

func ECDHTest

func ECDHTest(t *testing.T, kp keystores.KeyPair)

func EncryptDecryptTest

func EncryptDecryptTest(t *testing.T, kp keystores.KeyPair)

func KeyPairTest

func KeyPairTest(t *testing.T, ks keystores.KeyStore, alg keystores.KeyAlgorithm, keyUsage []keystores.KeyUsage)

func SignVerifyRSAPSSTest

func SignVerifyRSAPSSTest(t *testing.T, kp keystores.KeyPair)

func SignVerifyTest

func SignVerifyTest(t *testing.T, kp keystores.KeyPair)

Types

type KeyPairTestCase

type KeyPairTestCase struct {
	Name    string
	GenOpts keystores.GenKeyPairOpts
	WantErr bool
}

Jump to

Keyboard shortcuts

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