package org.cryptonit.cloud.interfaces;

import org.bouncycastle.asn1.x500.X500Name;

public interface IdentityStore {
    public String newIdentity(String domain, String keyId, X500Name subject) throws Exception;
}

@@ -34,16 +34,60 @@
 faces;%0A%0A
+import javax.security.cert.X509Certificate;%0A
 import o
@@ -156,16 +156,17 @@
 Store %7B%0A
+%0A
     publ
@@ -251,11 +251,127 @@
 ception;
+%0A%0A    public boolean setCertificate(String domain, String identityId, X509Certificate certificate) throws Exception;
 %0A%7D%0A

Add interface to set certificate value