A CCNNetworkObject wrapper around WrappedKey, used for easily saving and retrieving versioned WrappedKeys to CCN. More...
Public Member Functions | |
WrappedKeyObject (ContentName name, WrappedKey data, SaveType saveType, CCNHandle handle) throws IOException | |
WrappedKeyObject (ContentName name, WrappedKey data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator locator, CCNHandle handle) throws IOException | |
WrappedKeyObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException | |
WrappedKeyObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException | |
WrappedKeyObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException | |
WrappedKey | wrappedKey () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
A CCNNetworkObject wrapper around WrappedKey, used for easily saving and retrieving versioned WrappedKeys to CCN.
A typical pattern for using network objects to save objects that happen to be encodable or serializable is to incorporate such a static member wrapper class subclassing CCNEncodableObject, CCNSerializableObject, or CCNNetworkObject itself inside the main class definition.