br.ufsc.das.confidentiality
Class ClientConfidentialityLayer
java.lang.Object
br.ufsc.das.confidentiality.ClientConfidentialityLayer
- All Implemented Interfaces:
- DepSpaceClient, DepSpace
public class ClientConfidentialityLayer
- extends java.lang.Object
- implements DepSpaceClient
Method Summary |
DepTuple |
cas(DepTuple template,
DepTuple tuple,
Context ctx)
If the returned value is null, then the tuple was inserted. |
void |
clean(DepTuple proof,
Context ctx)
|
void |
createSpace(java.util.Properties prop)
|
void |
deleteSpace(java.lang.String name)
|
DepTuple |
in(DepTuple template,
Context ctx)
|
DepTuple |
inp(DepTuple template,
Context ctx)
|
void |
out(DepTuple tuple,
Context ctx)
|
DepTuple |
rd(DepTuple template,
Context ctx)
|
DepTuple |
rdp(DepTuple template,
Context ctx)
|
DepTuple |
signedRD(DepTuple template,
Context ctx)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientConfidentialityLayer
public ClientConfidentialityLayer(DepSpaceClient bottonLayer,
ConfidentialityScheme scheme)
- Creates a new instance of ClientConfidentialityLayer
out
public void out(DepTuple tuple,
Context ctx)
throws DepSpaceException
- Specified by:
out
in interface DepSpace
- Throws:
DepSpaceException
signedRD
public DepTuple signedRD(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
signedRD
in interface DepSpaceClient
- Throws:
DepSpaceException
clean
public void clean(DepTuple proof,
Context ctx)
throws DepSpaceException
- Specified by:
clean
in interface DepSpaceClient
- Throws:
DepSpaceException
rd
public DepTuple rd(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
rd
in interface DepSpace
- Throws:
DepSpaceException
in
public DepTuple in(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
in
in interface DepSpace
- Throws:
DepSpaceException
rdp
public DepTuple rdp(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
rdp
in interface DepSpace
- Throws:
DepSpaceException
inp
public DepTuple inp(DepTuple template,
Context ctx)
throws DepSpaceException
- Specified by:
inp
in interface DepSpace
- Throws:
DepSpaceException
cas
public DepTuple cas(DepTuple template,
DepTuple tuple,
Context ctx)
throws DepSpaceException
- Description copied from interface:
DepSpace
- If the returned value is null, then the tuple was inserted.
- Specified by:
cas
in interface DepSpace
- Throws:
DepSpaceException
createSpace
public void createSpace(java.util.Properties prop)
throws DepSpaceException
- Specified by:
createSpace
in interface DepSpaceClient
- Throws:
DepSpaceException
deleteSpace
public void deleteSpace(java.lang.String name)
throws DepSpaceException
- Specified by:
deleteSpace
in interface DepSpaceClient
- Throws:
DepSpaceException