Added a method for creating local groups.

This commit is contained in:
akwizgran
2013-04-12 10:26:01 +01:00
parent 2dd163c17a
commit 398f752c34
2 changed files with 17 additions and 2 deletions

View File

@@ -9,4 +9,8 @@ public interface GroupFactory {
/** Creates a restricted group. */
Group createGroup(String name, byte[] publicKey) throws IOException;
/** Creates a restricted group to which the local user can post messages. */
LocalGroup createLocalGroup(String name, byte[] publicKey,
byte[] privateKey) throws IOException;
}