22 #ifndef NDN_SIGNATURE_HPP 23 #define NDN_SIGNATURE_HPP 156 #endif // NDN_SIGNATURE_HPP
const KeyLocator & getKeyLocator() const
Get KeyLocator.
Represents a SignatureInfo TLV element.
void setInfo(const SignatureInfo &info)
Set SignatureInfo.
void setKeyLocator(const KeyLocator &keyLocator)
Set KeyLocator.
void setInfo(const Block &info)
Decode SignatureInfo from wire format.
Represents a TLV element of NDN packet format.
bool hasKeyLocator() const
Check if KeyLocator exists in SignatureInfo.
void unsetKeyLocator()
Unset KeyLocator.
void setKeyLocator(const KeyLocator &keyLocator)
Set KeyLocator.
tlv::SignatureTypeValue getType() const
Get SignatureType.
size_t wireEncode(EncodingImpl< TAG > &encoder) const
Fast encoding or block size estimation.
bool hasKeyLocator() const
Check if KeyLocator exists.
void setValue(const Block &value)
Set SignatureValue.
const Block & getInfo() const
Get SignatureInfo as wire format.
int32_t getSignatureType() const
Get SignatureType.
const Block & getValue() const
Get SignatureValue.
void unsetKeyLocator()
Unset KeyLocator.
SignatureTypeValue
SignatureType values.
const KeyLocator & getKeyLocator() const
Get KeyLocator.
const SignatureInfo & getSignatureInfo() const
Get SignatureInfo.
Error(const char *expectedType, uint32_t actualType)
represents an error in TLV encoding or decoding
Holds SignatureInfo and SignatureValue in a Data packet.