DEENESPTFRRUARHIKOZHNL
AUTOSAR_AP_SWS_Cryptography FIG-1811e3d3ca36f657 932 × 462 px 3 Release(s)

Figure 7.4: Integration into AUTOSAR

SHA-256 Inhalts-Fingerabdruck: 1811e3d3ca36f657a77958f69e75c9698ee9ad8cd23738f526fe83b9777edfdf
✦ KI-generierte Bildanalyse & technische Beschreibung Modell: gemini-3.8-flash (via agy) · Rezept figure-series@1 · erstellt am 2026-10-08

1. Diagrammtyp & Architektur-Kontext

  • Klassifikation: Statisches Schichtenmodell / Architektur-Blockdiagramm der AUTOSAR Adaptive Platform (AP).
  • Technischer Zweck: Darstellung der strukturellen Verortung des Functional Clusters (FC) ara::crypto innerhalb der AUTOSAR Runtime for Adaptive Applications (ARA) sowie Abgrenzung zwischen Platform Foundation FCs, Platform Service FCs, Non-Platform Services, User Applications und dem darunterliegenden OS-Interface (POSIX PSE51).

2. Komponenten, Entitäten & Schnittstellen

  • User Applications (Applikationsebene):
    • Adaptive Application: Unprivilegierte, isolierte Applikationsprozesse (untrusted).
    • ASW::XYZ Non-PF Service / ASW::ABC Non-PF Service: Benutzerdefinierte Services (Nicht-Plattform-Services), die serviceorientiert über ara::com bereitgestellt werden.
  • AUTOSAR Runtime for Adaptive Applications (ARA):
    • Platform Foundation FCs (C++ In-Process API):
      • ara::crypto (Cryptography): Stellt kryptografische Basisfunktionen (Random, Symmetric/Asymmetric Ciphers, Hashes, Key Storage, X.509) bereit.
      • ara::iam (Identity and Access Management): Autorisierungsinstanz für Applikationszugriffe auf Plattform-Ressourcen und Krypto-Schlüssel.
      • ara::idsm (Intrusion Detection System Manager): Erfassung und Weiterleitung von Sicherheitsereignissen (Security Events).
      • ara::fw (Firewall): Schnittstellennahe Netzwerkpaket-Filterung und Firewall-Funktionalität.
      • ara::core, ara::exec, ara::com (inkl. Protokoll-Bindings IPC, Signal PDU, SOME/IP, DDS), ara::tsync, ara::diag, ara::per, ara::phm, ara::log.
    • Platform Service FCs (Service-basiert via IPC/ara::com):
      • ara::sm service (State Management), ara::ucm service (Update and Config Management), ara::nm service (Network Management).
  • Betriebssystem- & Hardware-Ebene:
    • POSIX PSE51 / C++ STL: Standardisiertes OS-Interface (Single-Process, Multi-Threaded Profil gemäß IEEE 1003.13) für alle FCs.
    • (Virtual) Machine / Container / Hardware: Laufzeitumgebung, Hypervisor oder physisches SoC inklusive Hardware-Sicherheitsmodul (HSM / SHE / TPM).
  • Strukturbeziehungen & Vertrauensgrenzen:
    • Trust-Boundary: Functional Clusters bilden das vertrauenswürdige Fundament (trusted foundation); Adaptive Applications gelten als unvertrauenswürdig (untrusted additions).
    • Schlüsselslot-Abstraktion (Exclusive-Access-Model):
      • Application Key Slots: Exklusiv an eine spezifische Applikation gebunden; abgeschottet gegen andere Applikationen und fremde FCs.
      • Machine Key Slots: An die Maschine/Plattform gebunden, reserviert für System-FCs (z. B. ara::com für SecOC/TLS, ara::per für verschlüsselte Persistenz, ara::diag für authentifizierte Diagnose).

3. Dynamisches Verhalten & Sequenzablauf

Das Diagramm stellt eine statische Schichtenarchitektur dar; das zugrundeliegende Interaktionsmuster gliedert sich wie folgt:

  • API-Aufrufpfad (Synchron / In-Process):
    • Adaptive Applications binden ara::crypto direkt über Header und Laufzeitbibliotheken (In-Process C++ API) im lokalen virtuellen Adressraum ein.
  • Zugriffskontrolle via ara::iam:
    • Beim Öffnen eines Key Slots oder dem Instanziieren kryptografischer Kontexte prüft die ara::crypto-Implementierung die Zugriffsrechte des aufrufenden Prozesses (UID/GID, Process Execution Context) synchron gegen ara::iam.
  • Systemservice-Nutzung:
    • Plattform-Services (ara::diag, ara::per, ara::com) interagieren direkt mit ara::crypto, um Machine Key Slots zu konsumieren, ohne die IAM-Einschränkungen der Anwendungsebene zu durchlaufen. Key-Management-Applikationen (z. B. OEM Key Manager) verwalten diese Slots über dedizierte administrative Schnittstellen.

4. Normative Relevanz & Entwickler-Hinweise

  • API-Klassifikation & Linking:
    • ara::crypto ist als Foundation FC spezifiziert. Entwickler instanziieren Krypto-Objekte nicht über Service Discovery (ara::com::FindService), sondern direkt über C++-Fabriken (ara::crypto::keys::OpenKeySlot(), ara::crypto::cryp::...).
  • Manifest-Konfiguration:
    • Im Execution Manifest und Service Instance Manifest müssen die Zugriffsrechte für Schlüssel (CryptoKeySlot) und Algorithmen-Suites via IAM-Regeln explizit für den Applikationsprozess konfiguriert werden; unkonfigurierte Zugriffe terminieren mit SecurityErrorDomain-Fehlercodes.
  • Portabilität & Treiber-Kapselung:
    • Stack-Entwickler müssen Hardware-Krypto-Beschleuniger (HSM/SE/Crypto-Engine) über das POSIX-Interface bzw. proprietäre Kernel-Treiber unterhalb der ara::crypto-Plattformbibliothek anbinden. Die Schnittstelle nach oben zur Applikation bleibt streng konform zu SWS Cryptography R20-11.

Versionsvergleich KI-generiert · gemini-3.8-flash (via agy)

R21-11 → R22-11 normative Änderung Vorgänger: FIG-955f3b173d1e9b97
  • ara::fw (Firewall): Neuer Functional Cluster als Platform Foundation FC (C++ In-Process API) unterhalb von ara::nm service auf Ebene des Betriebssystem-Interfaces hinzugefügt.

Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Erkannte Spezifikationsbelege & Anforderungen auf dieser Seite

Aus dem Dokument extrahierter Text & Kontext

Begleitender Spezifikationstext:

Specification of Cryptography AUTOSAR AP R24-11 The required Key Slots are described in the manifest of the application. This information is stored by IAM, e.g. in a database. [SWS_CRYPT_41056] Log Access not granted Status: DRAFT Upstream requirements: RS_IAM_00010, RS_Main_00491 ⌈Whenever an application attempts to access a crypto resource but it is unauthorized and the IAM return with a "not granted" response, FC Crypto shall log a DltMessage of type ResourceAccessNotGranted with arguments set to • ProcessId: Process identifier of the process that was not granted access to a crypto resource. • ResourceInstanceSpecifier: A Provider or KeySlot or any crypto resource instance specifier that the process can not grant access to. ⌋ 7.2.2 Integration into AUTOSAR The overall architecture is described in chapter 7.2. The FC Crypto provides its service to all AUTOSAR elements, such as untrusted Adaptive Applications or trusted system services (Functional Clusters). From cryptographic service point of view both could be treated equally. The integraton of FC Crypto into AUTOSAR is described in Figure 7.4. Figure 7.4: Integration into AUTOSAR Their differential treatment is due to the underlying trust-model: system services (Functional Clusters) are the trusted foundation while Adaptive Applica- 37 of 441 Document ID 883: AUTOSAR_AP_SWS_Cryptography

Vorkommen in AUTOSAR-Releases (4)

Release Dokument Seite Nr. Bildunterschrift im Dokument
R22-11 AUTOSAR_SWS_Cryptography S. 47 7.4 Figure 7.4: Integration into AUTOSAR
R23-11 AUTOSAR_AP_SWS_Cryptography S. 35 7.4 Figure 7.4: Integration into AUTOSAR
R23-11 AUTOSAR_AP_SWS_Cryptography S. 35 7.4 Figure 7.4: Integration into AUTOSAR
R24-11 AUTOSAR_AP_SWS_Cryptography S. 37 7.4 Figure 7.4: Integration into AUTOSAR