Figure 7.8: Certificate deployment
fce068a1539ce5e2d59228959a62bff7856eed39c442e75d5570998c1f59a571
1. Diagrammtyp & Architektur-Kontext
UML-Klassendiagramm zur Spezifikation des Certificate-Deployments in der AUTOSAR Adaptive Platform (Modul Cryptography / SWS Cryptography). Das Metamodell unterteilt sich in die Pakete bzw. Domänen ApplicationDesign und Target-Configuration. Es beschreibt die Abbildung softwareseitiger Zertifikatsschnittstellen (PortInterface) auf kryptografische Zielkonfigurationselemente wie Zertifikate, Schlüsselslots, Modulinstanzen und Prozesse.
2. Komponenten, Entitäten & Schnittstellen
Das Paket ApplicationDesign enthält:
PortInterface(Spezialisierung vonARElement,AtpBlueprint,AtpBlueprintable,AtpType).CryptoInterfaceals Spezialisierung vonPortInterface.CryptoCertificateInterfaceals Spezialisierung vonCryptoInterfacemit AttributenisPrivate: Boolean [0..1]undwriteAccess: Boolean [0..1].RPortPrototype(Spezialisierung vonAbstractRequiredPortPrototype), referenziert über+requiredInterfacemit Stereotyp«isOfType»und Eigenschaft{redefines atpType}PortInterface(Kardinalität0..1).
Das Paket Target-Configuration enthält:
CryptoCertificate(Spezialisierung vonIdentifiable) mit AttributisPrivate: Boolean [0..1].CryptoKeySlot(Spezialisierung vonIdentifiable) mit AttributenallocateShadowCopy: Boolean [0..1],cryptoAlgId: String [0..1],cryptoObjectType: CryptoObjectTypeEnum [0..1],slotCapacity: PositiveInteger [0..1]undslotType: CryptoKeySlotTypeEnum [0..1].CryptoProvider(Spezialisierung vonIdentifiable), enthält per Komposition+keySlot 0..*mit Stereotyp«atpSplitable»Instanzen vonCryptoKeySlot.CryptoModuleInstantiation(Spezialisierung vonNonOsModuleInstantiation), aggregiert/komponiert:+cryptoCertificate 0..*mit Stereotyp«atpSplitable»zuCryptoCertificate+cryptoProvider 0..*mit Stereotyp«atpSplitable»zuCryptoProvider+certificateToKeySlotMapping 0..*mit Stereotyp«atpSplitable»zuCryptoCertificateToCryptoKeySlotMapping
CryptoCertificateToCryptoKeySlotMapping, referenziert:+cryptoCertificate 0..1zuCryptoCertificate+cryptoKeySlot 0..2mit Stereotyp«atpSplitable»zuCryptoKeySlot
CryptoCertificateToPortPrototypeMapping(Spezialisierung vonUploadableDeploymentElement) mit AttributwriteAccess: Boolean [0..1]:«instanceRef» +portPrototype 0..1zuRPortPrototype(paketübergreifend)+cryptoCertificate 0..1zuCryptoCertificate+process 0..1zuProcess
Process(Spezialisierung vonAbstractExecutionContext) ohne eigene Attributspezifikation im Klassenkasten.
3. Dynamisches Verhalten & Sequenzablauf
Statisches AUTOSAR-Metamodell ohne dynamische Verhaltens- oder Sequenzdiagrammelemente. Das Modell definiert die Konfigurations- und Deployment-Struktur zur Entwurfs- und Generierungszeit: Ein RPortPrototype einer Applikation, typisiert über CryptoCertificateInterface, wird über CryptoCertificateToPortPrototypeMapping im Kontext eines ausführenden Process genau einem CryptoCertificate zugewiesen. Parallel dazu verknüpft CryptoCertificateToCryptoKeySlotMapping das CryptoCertificate mit bis zu zwei physischen Schlüsselspeichern (CryptoKeySlot), beispielsweise für getrennte Lese-/Schreib- oder Primär-/Schatten-Schlüssel. CryptoModuleInstantiation fasst die Provider, Zertifikate und Zuordnungen auf Knotenebene zusammen.
4. Normative Relevanz & Entwickler-Hinweise
Normative Metamodell-Definition für AUTOSAR Adaptive Cryptography. Wesentliche Konfigurationsregeln:
- Die Referenzen von
CryptoCertificateToPortPrototypeMappingaufRPortPrototype,CryptoCertificateundProcessbesitzen die optionale Kardinalität0..1. CryptoCertificateToCryptoKeySlotMappingbindet optional bis zu ein Zertifikat (0..1) an bis zu zweiCryptoKeySlot-Instanzen (0..2).- Assoziationen und Kompositionen an
CryptoModuleInstantiationsowie zuCryptoKeySlotsind mit dem Stereotyp«atpSplitable»annotiert, was eine Aufteilung über mehrere ARXML-Dateien/Pakete im AUTOSAR-Modell unterstützt. - Die Zugriffsberechtigungen (
writeAccess,isPrivate) werden sowohl auf Interface-Ebene (CryptoCertificateInterface) als auch auf Deployment-Ebene (CryptoCertificateToPortPrototypeMapping,CryptoCertificate) deklariert.
Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.