org.pre4j.graph
Interface Encryptable

All Known Subinterfaces:
EncryptableGraph, EncryptableModel, EncryptableOntModel
All Known Implementing Classes:
EncryptableGraphImpl, EncryptableModelBase, EncryptableModelImpl, EncryptableOntModelImpl

public interface Encryptable

Abstract interface defining the second pass encryption methods as well as the decryption methods used by EncryptableGraph and org.pre4j.model.EncryptableMode.

Author:
Mark Giereth

Method Summary
 void commitEncryption(java.util.Collection<KeyInfo> key)
           
 void commitEncryption(KeyInfo key)
           
 void decrypt(java.util.Collection<KeyInfo> key)
           
 void decrypt(KeyInfo key)
           
 java.lang.String getTrace()
          Gets the trace of the encryption log.
 

Method Detail

commitEncryption

void commitEncryption(java.util.Collection<KeyInfo> key)
                      throws RDFEncryptionException
Parameters:
key -
Throws:
RDFEncryptionException

commitEncryption

void commitEncryption(KeyInfo key)
                      throws RDFEncryptionException
Parameters:
key -
Throws:
RDFEncryptionException

decrypt

void decrypt(java.util.Collection<KeyInfo> key)
             throws RDFEncryptionException
Parameters:
key -
Throws:
RDFEncryptionException

decrypt

void decrypt(KeyInfo key)
             throws RDFEncryptionException
Parameters:
key -
Throws:
RDFEncryptionException

getTrace

java.lang.String getTrace()
Gets the trace of the encryption log.