25 void CcsdsSdlsDeframer ::bufferReturnIn_handler(
FwIndexType portNum,
29 this->dataReturnOut_out(0, data, context);
33 if (data.
getSize() <
sizeof(U16)) {
35 this->log_WARNING_HI_InsufficientLength();
36 this->dataReturnOut_out(0, data, context);
47 data.
advance(static_cast<FwSignedSizeType>(
sizeof(U16)));
49 this->decryptOut_out(0, saIndex, data, newContext);
53 void CcsdsSdlsDeframer ::dataReturnIn_handler(
FwIndexType portNum,
57 this->decryptReturnOut_out(0, data, context);
60 void CcsdsSdlsDeframer ::decryptIn_handler(
FwIndexType portNum,
65 this->log_WARNING_HI_DecryptionFailed(status);
66 if (this->isConnected_errorNotify_OutputPort(0)) {
70 this->decryptReturnOut_out(0, data, context);
74 this->dataOut_out(0, data, context);
Serialization/Deserialization operation was successful.
~CcsdsSdlsDeframer()
Destroy CcsdsSdlsDeframer object.
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
void advance(FwSignedSizeType amount)
Status of an SDLS (Space Data Link Security) encryption/decryption request.
SerializeStatus
forward declaration for string
ExternalSerializeBufferWithMemberCopy getDeserializer()
FwSizeType getSize() const
void set_saIndex(U16 saIndex)
Set member saIndex.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
CcsdsSdlsDeframer(const char *const compName)
Construct CcsdsSdlsDeframer object.
Request completed successfully.