A subtype of ContentName that encodes on the wire with a different label. More...
Public Member Functions | |
WrappingKeyName (ContentName name) | |
long | getElementLabel () |
Allow the encoder/decoder to retrieve the top-level element name programmatically. |
A subtype of ContentName that encodes on the wire with a different label.
Was a static inner class of WrappedKey, but that caused problems when we tried to serialize it without making WK serializable.
long org.ccnx.ccn.io.content.WrappingKeyName.getElementLabel | ( | ) | [virtual] |
Allow the encoder/decoder to retrieve the top-level element name programmatically.
This allows subclasses to rename elements without changing their encoder/decoders.
Reimplemented from org.ccnx.ccn.protocol.ContentName.