TestKeyManagerSignVerifyEncrypt

class tests.test_crypto.TestKeyManagerSignVerifyEncrypt(methodName='runTest')[source]

Test KeyManager asymmetric key signing/verification, and encryption/decryption

__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

Methods

Methods

test_ecdsa_sign_verify()

Attempt to sign and verify a message using an ECDSA keypair using _sign_verify() test helper

test_ed25519_sign_verify()

Attempt to sign and verify a message using an Ed25519 keypair using _sign_verify() test helper

test_rsa_encrypt_decrypt()

test_rsa_sign_verify()

Attempt to sign and verify a message using an RSA keypair using _sign_verify() test helper

Attributes

Attributes