diff options
author | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-13 22:40:43 +0100 |
---|---|---|
committer | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-13 22:40:43 +0100 |
commit | 27b84d48029e90d816653e2b718aa8f629094611 (patch) | |
tree | ffc1e96546277616e3a21c2411e4b6306b4fac00 /src/main/java/pl/edu/mimuw/cloudatlas | |
parent | b0a43f11c3f38cbd2c3a255fc986c5a5612d7422 (diff) |
Small fixes
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/querysigner/QuerySignerApiImplementation.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/querysigner/QuerySignerApiImplementation.java b/src/main/java/pl/edu/mimuw/cloudatlas/querysigner/QuerySignerApiImplementation.java index 32bc634..37264bf 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/querysigner/QuerySignerApiImplementation.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/querysigner/QuerySignerApiImplementation.java @@ -24,10 +24,8 @@ public class QuerySignerApiImplementation implements QuerySignerApi { private Set<String> attribsSetByQueries; private ByteSerializer byteSerializer; - QuerySignerApiImplementation(PublicKey publicKey, PrivateKey privateKey) {// (byte[] serializedPublicKey, byte[] serializedPrivateKey) { + QuerySignerApiImplementation(PublicKey publicKey, PrivateKey privateKey) { this.byteSerializer = new ByteSerializer(); -// this.publicKey = (PublicKey) byteSerializer.deserialize(serializedPublicKey, PublicKey.class); -// this.privateKey = (PrivateKey) byteSerializer.deserialize(serializedPrivateKey, PrivateKey.class); this.publicKey = publicKey; this.privateKey = privateKey; this.queries = new HashMap<>(); @@ -79,7 +77,6 @@ public class QuerySignerApiImplementation implements QuerySignerApi { return digest; } - // TODO private byte[] serializeQuery(String queryName, String queryCode) { return byteSerializer.serialize(queryName + queryCode); } |