Public Member Functions | |
virtual EncapConfirm | encapsulate_packet (EncapRequest &&request)=0 |
Creates a security envelope covering the given payload. | |
virtual DecapConfirm | decapsulate_packet (DecapRequest &&request)=0 |
Decapsulates the payload within a SecuredMessage. | |
Definition at line 14 of file security_entity.hpp.
|
pure virtual |
Decapsulates the payload within a SecuredMessage.
Verifies the Signature and SignerInfo of a SecuredMessage.
request | containing a SecuredMessage |
Implemented in vanetza::security::DelegatingSecurityEntity.
|
pure virtual |
Creates a security envelope covering the given payload.
The payload consists of the CommonHeader, ExtendedHeader and the payload of the layers above the network layer. The entire security envelope is used to calculate a signature which gets added to the resulting SecuredMessage.
request | containing payload to sign |
Implemented in vanetza::security::DelegatingSecurityEntity.