Added a factory method for local authors.

This commit is contained in:
akwizgran
2013-04-05 21:13:24 +01:00
parent 95484b5a00
commit b109a94155
2 changed files with 15 additions and 2 deletions

View File

@@ -5,4 +5,7 @@ import java.io.IOException;
public interface AuthorFactory {
Author createAuthor(String name, byte[] publicKey) throws IOException;
LocalAuthor createLocalAuthor(String name, byte[] publicKey,
byte[] privateKey) throws IOException;
}