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
Generate an ECDSA keypair, check the pub/priv lengths, and confirm they’re formatted correctly |
|
Generate an Ed25519 keypair, check the pub/priv lengths, and confirm they’re formatted correctly |
|
Test outputting a keypair to files creates files, and file contents match the returned priv/pub |
|
Generate an RSA 2048 + 4096-bit key, check the pub/priv lengths, and confirm they’re formatted correctly |