BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
SecOutcome.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 The Johns Hopkins University Applied Physics
3 * Laboratory LLC.
4 *
5 * This file is part of the Bundle Protocol Security Library (BSL).
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 * This work was performed for the Jet Propulsion Laboratory, California
18 * Institute of Technology, sponsored by the United States Government under
19 * the prime contract 80NM0018D0004 between the Caltech and NASA under
20 * subcontract 1700763.
21 */
22
34#ifndef BSLB_SECOUTCOME_H_
35#define BSLB_SECOUTCOME_H_
36
37#include <BPSecLib_Private.h>
38
39#include "SecParam.h"
40#include "SecResult.h"
41
43{
46
49
52
54 BSLB_SecParamList_t param_list;
55
57 BSLB_SecResultList_t result_list;
58};
59
60#endif /* BSLB_SECOUTCOME_H_ */
Single entry-point include file for all of the BPSec Lib (BSL) frontend API.
Defines the RFC 9172 Security Parameter of the Abstract Security Block.
Defines the RFC 9172 Security Result.
Heap data storage and views.
const BSL_SecOper_t * sec_oper
Non-NULL pointer to Security Operation that provided the input.
Definition SecOutcome.h:51
bool is_success
Boolean indicating true when successful.
Definition SecOutcome.h:45
BSLB_SecResultList_t result_list
List of security results with metadata for receiver. Must be encoded into BTSD.
Definition SecOutcome.h:57
BSLB_SecParamList_t param_list
List of security parameters with metadata for receiver. Must be encoded into the BTSD.
Definition SecOutcome.h:54
BSL_Data_t allocation
Pre-allocated memory pool, lifetimes of all results and parameters are tied to this.
Definition SecOutcome.h:48