Class org.lightningj.paywall.keymgmt.DefaultFileKeyManagerSpec
Tests
Test |
Duration |
Result |
Verify that a BTC Pay Server key pair is loaded if exists |
0.006s |
passed |
Verify that a existing key pair is loaded if exists |
0.415s |
passed |
Verify that a if a symmetric key file exists it is loaded from disk. |
0.220s |
passed |
Verify that a new BTC Pay Server private key is generated if not exists |
0.011s |
passed |
Verify that a new key pair is generated if not exists |
0.144s |
passed |
Verify that a new symmetric key is generated if not exists |
0.134s |
passed |
Verify that if no trust store directory have been configured is current public key trusted with warning |
0.267s |
passed |
Verify that invalid configured trust store directory thrown InternalErrorException |
0.001s |
passed |
Verify that trust cache is setup properly |
0.005s |
passed |