Skip to content

Commit 5905219

Browse files
committed
that crypto architecture is still a mess. Gets better, though.
1 parent dbffd6c commit 5905219

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/net/sharksystem/crypto/BasicCryptoSettings.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,4 @@ public interface BasicCryptoSettings {
4141
String getSymmetricKeyType();
4242

4343
int getSymmetricKeyLen();
44-
45-
/**
46-
*
47-
* @param peerID
48-
* @return true if peerID is owners' id.
49-
*/
50-
boolean isOwner(CharSequence peerID);
51-
52-
CharSequence getOwner();
5344
}

src/net/sharksystem/crypto/BasicKeyStore.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@ public interface BasicKeyStore extends BasicCryptoSettings {
1313
* @throws ASAPSecurityException if key cannot be found
1414
*/
1515
PublicKey getPublicKey(CharSequence subjectID) throws ASAPSecurityException;
16+
17+
/**
18+
*
19+
* @param peerID
20+
* @return true if peerID is owners' id.
21+
*/
22+
boolean isOwner(CharSequence peerID);
23+
24+
CharSequence getOwner();
1625
}

0 commit comments

Comments
 (0)