java.lang.Objectorg.pre4j.graph.EncryptableGraphImpl
public class EncryptableGraphImpl
This class implements the EncryptableGraph interface.
| Field Summary |
|---|
| Fields inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
emptyGraph |
| Constructor Summary | |
|---|---|
EncryptableGraphImpl(com.hp.hpl.jena.graph.Graph graph)
Creates a default GraphEncryptor instance with AES (256 bit keys) for encryption and SHA1 for digest. |
|
| Method Summary | |
|---|---|
void |
add(com.hp.hpl.jena.graph.Triple arg0)
|
void |
close()
|
void |
commitEncryption(java.util.Collection<KeyInfo> keys)
|
void |
commitEncryption(KeyInfo key)
|
boolean |
contains(com.hp.hpl.jena.graph.Node arg0,
com.hp.hpl.jena.graph.Node arg1,
com.hp.hpl.jena.graph.Node arg2)
|
boolean |
contains(com.hp.hpl.jena.graph.Triple arg0)
|
void |
decrypt(java.util.Collection<KeyInfo> keys)
|
void |
decrypt(KeyInfo key)
|
void |
delete(com.hp.hpl.jena.graph.Triple arg0)
|
boolean |
dependsOn(com.hp.hpl.jena.graph.Graph arg0)
|
void |
encryptLabel(com.hp.hpl.jena.graph.Node n)
Changes |
void |
encryptTriple(com.hp.hpl.jena.graph.Triple t)
|
void |
encryptTriples(java.util.Collection<com.hp.hpl.jena.graph.Triple> t)
|
com.hp.hpl.jena.util.iterator.ExtendedIterator |
find(com.hp.hpl.jena.graph.Node arg0,
com.hp.hpl.jena.graph.Node arg1,
com.hp.hpl.jena.graph.Node arg2)
|
com.hp.hpl.jena.util.iterator.ExtendedIterator |
find(com.hp.hpl.jena.graph.TripleMatch arg0)
|
com.hp.hpl.jena.graph.BulkUpdateHandler |
getBulkUpdateHandler()
|
com.hp.hpl.jena.graph.Capabilities |
getCapabilities()
|
com.hp.hpl.jena.graph.GraphEventManager |
getEventManager()
|
com.hp.hpl.jena.shared.PrefixMapping |
getPrefixMapping()
|
com.hp.hpl.jena.graph.Reifier |
getReifier()
|
java.lang.String |
getTrace()
Gets the trace of the encryption log. |
com.hp.hpl.jena.graph.TransactionHandler |
getTransactionHandler()
|
boolean |
isEmpty()
|
boolean |
isIsomorphicWith(com.hp.hpl.jena.graph.Graph arg0)
|
com.hp.hpl.jena.graph.query.QueryHandler |
queryHandler()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptableGraphImpl(com.hp.hpl.jena.graph.Graph graph)
| Method Detail |
|---|
public void add(com.hp.hpl.jena.graph.Triple arg0)
throws com.hp.hpl.jena.shared.AddDeniedException
add in interface com.hp.hpl.jena.graph.GraphAddcom.hp.hpl.jena.shared.AddDeniedExceptionGraphAdd.add(com.hp.hpl.jena.graph.Triple)public void close()
close in interface com.hp.hpl.jena.graph.GraphGraph.close()
public void commitEncryption(java.util.Collection<KeyInfo> keys)
throws RDFEncryptionException
commitEncryption in interface EncryptableRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#commitEncryption(java.util.List)
public void commitEncryption(KeyInfo key)
throws RDFEncryptionException
commitEncryption in interface EncryptableRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#commitEncryption(org.foafscape.rdfenc.crypto.KeyInfo)
public boolean contains(com.hp.hpl.jena.graph.Node arg0,
com.hp.hpl.jena.graph.Node arg1,
com.hp.hpl.jena.graph.Node arg2)
contains in interface com.hp.hpl.jena.graph.GraphGraph.contains(com.hp.hpl.jena.graph.Node, com.hp.hpl.jena.graph.Node, com.hp.hpl.jena.graph.Node)public boolean contains(com.hp.hpl.jena.graph.Triple arg0)
contains in interface com.hp.hpl.jena.graph.GraphGraph.contains(com.hp.hpl.jena.graph.Triple)
public void decrypt(java.util.Collection<KeyInfo> keys)
throws RDFEncryptionException
decrypt in interface EncryptableRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#decrypt(java.util.List)
public void decrypt(KeyInfo key)
throws RDFEncryptionException
decrypt in interface EncryptableRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#decrypt(org.foafscape.rdfenc.crypto.KeyInfo)
public void delete(com.hp.hpl.jena.graph.Triple arg0)
throws com.hp.hpl.jena.shared.DeleteDeniedException
delete in interface com.hp.hpl.jena.graph.Graphcom.hp.hpl.jena.shared.DeleteDeniedExceptionGraph.delete(com.hp.hpl.jena.graph.Triple)public boolean dependsOn(com.hp.hpl.jena.graph.Graph arg0)
dependsOn in interface com.hp.hpl.jena.graph.GraphGraph.dependsOn(com.hp.hpl.jena.graph.Graph)
public void encryptLabel(com.hp.hpl.jena.graph.Node n)
throws RDFEncryptionException
EncryptableGraph
encryptLabel in interface EncryptableGraphRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#encryptLabel(com.hp.hpl.jena.graph.Node)
public void encryptTriple(com.hp.hpl.jena.graph.Triple t)
throws RDFEncryptionException
encryptTriple in interface EncryptableGraphRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#encryptTriple(com.hp.hpl.jena.graph.Triple)
public void encryptTriples(java.util.Collection<com.hp.hpl.jena.graph.Triple> t)
throws RDFEncryptionException
encryptTriples in interface EncryptableGraphRDFEncryptionExceptionorg.foafscape.rdfenc.graph.EncryptableGraph#encryptTriples(java.util.Collection)
public com.hp.hpl.jena.util.iterator.ExtendedIterator find(com.hp.hpl.jena.graph.Node arg0,
com.hp.hpl.jena.graph.Node arg1,
com.hp.hpl.jena.graph.Node arg2)
find in interface com.hp.hpl.jena.graph.GraphGraph.find(com.hp.hpl.jena.graph.Node, com.hp.hpl.jena.graph.Node, com.hp.hpl.jena.graph.Node)public com.hp.hpl.jena.util.iterator.ExtendedIterator find(com.hp.hpl.jena.graph.TripleMatch arg0)
find in interface com.hp.hpl.jena.graph.GraphGraph.find(com.hp.hpl.jena.graph.TripleMatch)public com.hp.hpl.jena.graph.BulkUpdateHandler getBulkUpdateHandler()
getBulkUpdateHandler in interface com.hp.hpl.jena.graph.GraphGraph.getBulkUpdateHandler()public com.hp.hpl.jena.graph.Capabilities getCapabilities()
getCapabilities in interface com.hp.hpl.jena.graph.GraphGraph.getCapabilities()public com.hp.hpl.jena.graph.GraphEventManager getEventManager()
getEventManager in interface com.hp.hpl.jena.graph.GraphGraph.getEventManager()public com.hp.hpl.jena.shared.PrefixMapping getPrefixMapping()
getPrefixMapping in interface com.hp.hpl.jena.graph.GraphGraph.getPrefixMapping()public com.hp.hpl.jena.graph.Reifier getReifier()
getReifier in interface com.hp.hpl.jena.graph.GraphGraph.getReifier()public java.lang.String getTrace()
Encryptable
getTrace in interface Encryptablepublic com.hp.hpl.jena.graph.TransactionHandler getTransactionHandler()
getTransactionHandler in interface com.hp.hpl.jena.graph.GraphGraph.getTransactionHandler()public boolean isEmpty()
isEmpty in interface com.hp.hpl.jena.graph.GraphGraph.isEmpty()public boolean isIsomorphicWith(com.hp.hpl.jena.graph.Graph arg0)
isIsomorphicWith in interface com.hp.hpl.jena.graph.GraphGraph.isIsomorphicWith(com.hp.hpl.jena.graph.Graph)public com.hp.hpl.jena.graph.query.QueryHandler queryHandler()
queryHandler in interface com.hp.hpl.jena.graph.GraphGraph.queryHandler()public int size()
size in interface com.hp.hpl.jena.graph.GraphGraph.size()