#include <pki-authentication-manager.h>


Public Member Functions | |
| void | Sign (Ptr< Tuple > tuple) |
| Signs the given tuple on behalf of the principal. | |
| bool | Verify (Ptr< Tuple > tuple, Ptr< TupleAttribute > sigAttr) |
| Verify that the received tuple is signed by a principal. | |
Static Public Member Functions | |
|
static Ptr < SendlogAuthenticationManager > | New (Ptr< RapidNetApplicationBase > principal) |
| Static constructor. Creates and returns an instance of the PkiAuthenticationManager for the given principal. | |
Protected Member Functions | |
| Ptr< Value > | OpenSslSign (Ptr< Tuple > tuple) |
| Invokes OpenSSL primitives for generating the signature and returns the. | |
| bool | OpenSslVerify (Ptr< ByteArrayValue > signature, Ptr< ByteArrayValue > bytes, string keyId) |
| Invokes OpenSSL primitives for verifying the signature. | |
Protected Attributes | |
| Ptr< EvpKey > | m_privateKey |
| My private key. | |
| EvpKeyCache | m_publicKeys |
| Cache of public keys of other principals. | |
Invokes OpenSSL primitives for generating the signature and returns the.
| bool ns3::rapidnet::PkiAuthenticationManager::Verify | ( | Ptr< Tuple > | tuple, | |
| Ptr< TupleAttribute > | sigAttr | |||
| ) | [virtual] |
Verify that the received tuple is signed by a principal.
| sigAttr | The identity information of the principal who should sign the tuple is provided. |
Implements ns3::rapidnet::SendlogAuthenticationManager.
1.5.8