1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 ZeroDDS Contributors
//! Crate `zerodds-corba-csiv2`. Safety classification: **STANDARD**.
//!
//! OMG CORBA 3.3 Part 3 — Common Secure Interoperability v2 (CSIv2).
//! Voller CSIv2-Stack als pure-Rust `no_std + alloc`,
//! `forbid(unsafe_code)`:
//!
//! - **Association-Options** (Spec §24.2.4) — Bitmasken
//! `Integrity` / `Confidentiality` / `EstablishTrustInTarget` /
//! `EstablishTrustInClient` / `IdentityAssertion` /
//! `DelegationByClient` / `NoProtection`.
//! - **Compound-Sec-Mech-List** (Spec §24.2.6.5) als
//! `TAG_CSI_SEC_MECH_LIST`-Component-Body (AS-Layer + SAS-Layer).
//! - **GSSUP** Username-Password-Token (Spec §24.7) mit
//! `INITIAL_CONTEXT_TOKEN`-Wrapping.
//! - **SAS-Protocol** (Spec §24.2): EstablishContext /
//! CompleteEstablishContext / MessageInContext / ContextError.
//! - **TLS-Mechanism-OID** (Spec §24.2.6.5): `1.3.6.1.5.5.13` fuer
//! `TLS_SEC_TRANS`.
//!
//! Spec: OMG CORBA 3.3 Part 3 §24.
//!
//! ## Schichten-Position
//!
//! Layer 8 — CORBA-Stack (Tier-A). Sitzt auf `zerodds-cdr` (Wire-
//! Codec). Konsumenten sind GIOP-/IIOP-Server (Layer-8-Tier-B/C) mit
//! Security-Stack-Konfiguration.
//!
//! ## Public API (Stand 1.0.0-rc.1)
//!
//! - [`AssociationOptions`] — §24.2.4 Bitmask.
//! - [`CompoundSecMech`] / [`CompoundSecMechList`] / [`AsContextSec`]
//! / [`SasContextSec`] — §24.2.6.5.
//! - [`GssupCredentialToken`] / [`INITIAL_CONTEXT_TOKEN_TAG`] — §24.7.
//! - [`SasMessage`] / [`EstablishContext`] /
//! [`CompleteEstablishContext`] / [`MessageInContext`] /
//! [`ContextError`] / [`IdentityToken`] — §24.2 SAS-Protocol.
//!
//! ## Beispiel
//!
//! ```rust
//! use zerodds_corba_csiv2::AssociationOptions;
//!
//! // Spec §24.2.4 — Association-Options-Bitmask: Integrity + Confidentiality.
//! let opts = AssociationOptions(AssociationOptions::INTEGRITY | AssociationOptions::CONFIDENTIALITY);
//! assert!(opts.0 & AssociationOptions::INTEGRITY != 0);
//! assert!(opts.0 & AssociationOptions::CONFIDENTIALITY != 0);
//! ```
extern crate alloc;
pub use AssociationOptions;
pub use ;
pub use ;
pub use ;