00001 package edu.virtualschool.jco; 00002 00003 import java.io.Serializable; 00004 00011 public interface JCOKey 00012 { 00016 JCOSealedBytes seal(Serializable object) throws JCOFault; 00017 00021 Object unseal(JCOSealedBytes sealedObject) throws JCOFault; 00022 00025 JCOEncodedBytes encode() throws JCOFault; 00026 00037 String getAlgorithm(); 00038 00056 String getFormat(); 00057 00065 byte[] getEncoded(); 00066 00067 // static final long serialVersionUID = 6484484088593776359L; 00068 }