Represents a signature of Sha256WithRsa type. More...
#include <ndn-cxx/security/signature-sha256-with-rsa.hpp>
 Inheritance diagram for ndn::SignatureSha256WithRsa:
 Inheritance diagram for ndn::SignatureSha256WithRsa: Collaboration diagram for ndn::SignatureSha256WithRsa:
 Collaboration diagram for ndn::SignatureSha256WithRsa:| Public Member Functions | |
| SignatureSha256WithRsa (const KeyLocator &keyLocator=KeyLocator()) | |
| Create Sha256WithRsa signature with specified KeyLocator.  More... | |
| SignatureSha256WithRsa (const Signature &signature) | |
| Convert base Signature to Sha256WithRsa signature.  More... | |
| const Block & | getInfo () const | 
| Get SignatureInfo as wire format.  More... | |
| const KeyLocator & | getKeyLocator () const | 
| Get KeyLocator.  More... | |
| const SignatureInfo & | getSignatureInfo () const | 
| Get SignatureInfo.  More... | |
| tlv::SignatureTypeValue | getType () const | 
| Get SignatureType.  More... | |
| const Block & | getValue () const | 
| Get SignatureValue.  More... | |
| bool | hasKeyLocator () const | 
| Check if KeyLocator exists in SignatureInfo.  More... | |
| operator bool () const | |
| Determine whether SignatureInfo is valid.  More... | |
| void | setInfo (const Block &info) | 
| Decode SignatureInfo from wire format.  More... | |
| void | setInfo (const SignatureInfo &info) | 
| Set SignatureInfo.  More... | |
| void | setKeyLocator (const KeyLocator &keyLocator) | 
| Set KeyLocator.  More... | |
| void | setValue (const Block &value) | 
| Set SignatureValue.  More... | |
| Protected Attributes | |
| SignatureInfo | m_info | 
| Block | m_value | 
Represents a signature of Sha256WithRsa type.
This signature type provides integrity and provenance protection using a RSA signature over a SHA-256 digest.
Definition at line 34 of file signature-sha256-with-rsa.hpp.
| 
 | explicit | 
Create Sha256WithRsa signature with specified KeyLocator.
Definition at line 26 of file signature-sha256-with-rsa.cpp.
| 
 | explicit | 
Convert base Signature to Sha256WithRsa signature.
| Signature::Error | SignatureType is not Sha256WithRsa | 
Definition at line 31 of file signature-sha256-with-rsa.cpp.
| 
 | inlineinherited | 
Get SignatureInfo as wire format.
Definition at line 73 of file signature.hpp.
| 
 | inlineinherited | 
Get KeyLocator.
| tlv::Error | KeyLocator does not exist in SignatureInfo | 
Definition at line 125 of file signature.hpp.
| 
 | inlineinherited | 
Get SignatureInfo.
Definition at line 65 of file signature.hpp.
| 
 | inherited | 
Get SignatureType.
| Error | signature is invalid | 
Definition at line 43 of file signature.cpp.
| 
 | inlineinherited | 
Get SignatureValue.
Definition at line 95 of file signature.hpp.
| 
 | inlineinherited | 
Check if KeyLocator exists in SignatureInfo.
Definition at line 116 of file signature.hpp.
| 
 | inlineexplicitinherited | 
Determine whether SignatureInfo is valid.
Definition at line 57 of file signature.hpp.
| 
 | inherited | 
Decode SignatureInfo from wire format.
| tlv::Error | decode error | 
Definition at line 52 of file signature.cpp.
| 
 | inlineinherited | 
Set SignatureInfo.
Definition at line 87 of file signature.hpp.
| 
 | inlineinherited | 
Set KeyLocator.
Definition at line 133 of file signature.hpp.
| 
 | inherited | 
Set SignatureValue.
| tlv::Error | TLV-TYPE of supplied block is not SignatureValue, or the block does not have TLV-VALUE | 
Definition at line 58 of file signature.cpp.
| 
 | protectedinherited | 
Definition at line 150 of file signature.hpp.
| 
 | mutableprotectedinherited | 
Definition at line 151 of file signature.hpp.