TestKeyManagerGeneration

class tests.test_crypto.TestKeyManagerGeneration(methodName='runTest')[source]
__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_gen()

Generate an ECDSA keypair, check the pub/priv lengths, and confirm they’re formatted correctly

test_ed25519_gen()

Generate an Ed25519 keypair, check the pub/priv lengths, and confirm they’re formatted correctly

test_output_keypair()

Test outputting a keypair to files creates files, and file contents match the returned priv/pub

test_rsa_gen()

Generate an RSA 2048 + 4096-bit key, check the pub/priv lengths, and confirm they’re formatted correctly

Attributes

Attributes