package org.cryptonit.cloud.interfaces;

import java.security.PrivateKey;
import java.security.PublicKey;

public interface KeyStore {
    PrivateKey getPrivateKey(String domain, String keyIdentifier);

    PublicKey getPublicKey(String domain, String keyIdentifier);
}

@@ -128,16 +128,397 @@
 Store %7B%0A
+    public enum KeyParameters %7B%0A        RSA_2048(%22RSA%22, null, 2048),%0A%0A        final private String algorithm;%0A        final private String parameter;%0A        final private int size;%0A%0A        KeyParameters(String algorithm, String parameter, int size) %7B%0A            this.algorithm = algorithm;%0A            this.parameter = parameter;%0A            this.size = size;%0A        %7D%0A    %7D;%0A%0A
     Priv

Add KeyParameters enum