class MockKeyManagementService : KeyManagementService| <init> |
MockKeyManagementService(vararg initialKeys: KeyPair) |
| keys |
val keys: MutableMap<PublicKey, PrivateKey>Returns a snapshot of the current pubkey->privkey mapping. |
| nextKeys |
val nextKeys: LinkedList<KeyPair> |
| freshKey |
fun freshKey(): KeyPairGenerates a new random key and adds it to the exposed map. |
| toKeyPair |
open fun toKeyPair(publicKey: PublicKey): KeyPair |
| toPrivate |
open fun toPrivate(publicKey: PublicKey): PrivateKey |