DEENESPTFRRUARHIKOZHNL

فئة ara::crypto::cryp::KeySlot

[SWS_CRYPT_50145] Upstream: RS_CRYPTO_02405

class KeySlot {...};

KeySlot interface representing a storage location for a key in a CryptoProvider.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto::cryp

دليل المستخدممولَّد بالذكاء الاصطناعي

يدير موقع تخزين للمفاتيح التشفيرية ويتيح الاستعلام عن البيانات الوصفية واستدعاءات رد النداء عند التغيير.
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 15ebff2d544c المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

يدير موقع تخزين للمفاتيح التشفيرية ويتيح الاستعلام عن البيانات الوصفية واستدعاءات رد النداء عند التغيير.

تغلف الواجهة موقع تخزين دائمًا أو متطايرًا للمفاتيح التشفيرية، وتتيح الاستعلام عن البيانات الوصفية للمفتاح بالإضافة إلى CryptoProvider المسؤول [SWS_CRYPT_30403]. ويمكن للتطبيقات مراقبة تغييرات المحتوى عبر رد نداء لمراقب يمكن تسجيله [SWS_CRYPT_30404]. وفي حال كان المنفذ (Slot) فارغًا، تفشل عمليات الوصول إلى نوع المفتاح أو الخوارزمية الخاصة به مع رمز الخطأ ara::crypto::CryptoErrc::kEmptyKeySlot [SWS_CRYPT_50055]. ونظرًا لأن النسخ والنقل محظوران، يتم الوصول بطريقة آمنة خيطيًا عبر مؤشرات مشتركة (Shared-Pointers).

السياق

تمثل الواجهة ara::crypto::cryp::KeySlot موقع تخزين مخصصًا للمفاتيح التشفيرية داخل AUTOSAR Adaptive Platform. وباعتبارها تغليفًا لمنفذ مفاتيح منطقي، فإنها تدير البيانات الوصفية، ومعلومات النوع، وتعيين الخوارزميات المدعومة للمفتاح المخزن داخله. ويتفاعل المثيل عادةً مع ثلاثة أطراف: برنامج التطبيق، وcryp::CryptoProvider المرتبط الذي يمكن الحصول منه على مرجع مشترك عبر [SWS_CRYPT_30403]، بالإضافة إلى رد نداء خاص بالتطبيق لمراقبة المحتوى وفقًا لـ [SWS_CRYPT_30404].

KeySlotContext App Applikation KeySlot KeySlot App->KeySlot fragt ab / registriert CryptoProvider CryptoProvider KeySlot->CryptoProvider referenziert Observer Update-Observer KeySlot->Observer benachrichtigt

مخطط السياق: أطراف التفاعل لواجهة KeySlot. المصادر: [SWS_CRYPT_30403]، [SWS_CRYPT_30404]

دورة الحياة

يرتبط KeySlot ارتباطًا وثيقًا بمستودع المفاتيح الذي يمثله. وبناءً على ذلك، تمنع الواجهة تكرار المثيل ونقله: فكل من منشئ النسخ [SWS_CRYPT_50149] ومنشئ النقل [SWS_CRYPT_50150] محذوفان صراحةً. وينطبق الأمر نفسه على معامل إسناد النسخ [SWS_CRYPT_50147] ومعامل إسناد النقل [SWS_CRYPT_50148].

لإدارة علاقات الملكية والمراجع، يحدد الصنف الاسم المستعار لنوع المؤشر الذكي Sptr كـ std::shared_ptr<KeySlot> [SWS_CRYPT_50151]. ويتم التحرير عبر مدمر فئة افتراضي قياسي [SWS_CRYPT_50146]. تفسير: نظرًا لأن الواجهة لا تحدد أي منشئات فئة عامة، يُرجح أن يتم إنشاء المثيلات المحددة بواسطة CryptoProvider المسؤول وتوفيرها كـ Sptr. سؤال Q-baef4cb1493c96cd (مفتوح) وقد أُعلن عن جميع الدوال المتوفرة بأنها آمنة خيطيًا، مما يجعل الوصول المتزامن للقراءة والمراقبة من عدة سياقات تنفيذ أمرًا مسموحًا به.

مسار الاستخدام

ينقسم التفاعل النموذجي مع KeySlot إلى تهيئة مراقبة المحتوى والاستعلام عن البيانات الوصفية للمفتاح المخزن:

  1. تسجيل المراقب: يسجل التطبيق دالة رد نداء ومعرّفًا خاصًا بالتطبيق عبر RegisterUpdateObserver keySlotIdentifier [SWS_CRYPT_30404]. وفي حال الاستدعاء المتكرر، يتم استدعاء آخر رد نداء تم تمريره فقط عند تحديثات محتوى المنفذ أو حذفه.
  2. الاستعلام عن الخوارزميات المدعومة: يحدد التطبيق عبر GetPossibleAlgIds قائمة بجميع معرّفات الخوارزميات التي يدعمها المنفذ [SWS_CRYPT_50056].
  3. فحص المفتاح الحالي: إذا كان هناك مفتاح في المنفذ، يُرجع GetCryptoObjectType نوع كائن المفتاح [SWS_CRYPT_50054]، ويُرجع GetAlgId معرّف الخوارزمية المحدد له [SWS_CRYPT_50055].
  4. تحديد المزود المسؤول: عند الحاجة، يمكن الاستعلام عن CryptoProvider المسؤول عبر GetCryptoProvider كمؤشر مشترك [SWS_CRYPT_30403].
  5. إلغاء تسجيل المراقب: بعد اكتمال المراقبة، يتم إلغاء التسجيل عبر UnregisterUpdateObserver [SWS_CRYPT_30406].
مسار الاستخدام النموذجي لـ KeySlotApplikationKeySlotRegisterUpdateObserver(callback, id)Result<void>GetPossibleAlgIds()Result<Vector<AlgIdString>>GetCryptoObjectType()Result<CryptoObjectType>GetAlgId()Result<AlgIdString>UnregisterUpdateObserver()Result<void>

مخطط التسلسل: المسار النموذجي للتسجيل، والاستعلام عن البيانات الوصفية، وإلغاء التسجيل في KeySlot. المصادر: [SWS_CRYPT_30404]، [SWS_CRYPT_50056]، [SWS_CRYPT_50054]، [SWS_CRYPT_50055]، [SWS_CRYPT_30406]

سيناريوهات الأخطاء

تؤمن دوال الاستعلام حالات الخطأ عبر نوع النتيجة ara::core::Result. وإذا كان KeySlot لا يحتوي على مفتاح، فإن الاستدعاءات GetCryptoObjectType [SWS_CRYPT_50054] وGetAlgId [SWS_CRYPT_50055] تُرجع على التوالي رمز الخطأ القياسي ara::crypto::CryptoErrc::kEmptyKeySlot بدلالات التراجع (Rollback). ولا تحدد الدوال GetPossibleAlgIds [SWS_CRYPT_50056] وGetCryptoProvider [SWS_CRYPT_30403] رموز خطأ قياسية. وبالنسبة لإدارة المراقب عبر RegisterUpdateObserver [SWS_CRYPT_30404] بالإضافة إلى UnregisterUpdateObserver [SWS_CRYPT_30406]، يُنص في حالة الخطأ على أخطاء خاصة بالتنفيذ في كائن النتيجة.

تم إعداد هذا الدليل بواسطة ذكاء اصطناعي بناءً على المواصفة R25-11.

خريطة الأعضاء

المُنشئات والمُتلف

2

المعاملات

1

أسماء الأنواع البديلة

1

مخطط الفئة

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__crypto__cryp__KeySlot637 KeySlot + KeySlot() + operator=() + ~KeySlot() + GetAlgId() + GetCryptoObjectType() + GetCryptoProvider() + GetPossibleAlgIds() + RegisterUpdateObserver() + UnregisterUpdateObserver() nara__crypto__cryp__WriteableKeySlot529 WriteableKeySlot nara__crypto__cryp__WriteableKeySlot529->nara__crypto__cryp__KeySlot637

عرض التفاصيل

اختر عنصرًا من المخطط.

المُنشئات والمُتلف

KeySlot دالة 2

Copy-Constructor.

التحميلات الزائدة KeySlot 2
KeySlot (const KeySlot &)=delete; SWS_CRYPT_50149
KeySlot (KeySlot &&)=delete; SWS_CRYPT_50150
~KeySlot دالة

Destructor.

virtual ~KeySlot () noexcept=default;

الدوال الأعضاء

GetAlgId دالة

The interface shall return the AlgId of the currently stored key.

virtual ara::core::Result< ara::crypto::AlgIdString > GetAlgId () const noexcept=0;

The interface shall return the CryptoObjectType of the currently stored key.

virtual ara::core::Result< CryptoObjectType > GetCryptoObjectType () const noexcept=0;

The interface shall return an instance of the CryptoProvider that is responsible for this KeySlot.

virtual ara::core::Result< std::shared_ptr< cryp::CryptoProvider > > GetCryptoProvider () const noexcept=0;

The interface shall return a vector of AlgIds supported by this KeySlot.

virtual ara::core::Result< ara::core::Vector< ara::crypto::AlgIdString > > GetPossibleAlgIds () const noexcept=0;

The interface shall register an application callback function to be called when the content of the KeySlot is updated (i.e., modified or cleared). If this function is called multiple times, only the most recently registered callback of an application will be called.

virtual ara::core::Result< void > RegisterUpdateObserver (std::function< void(ara::core::StringView)> callback, ara::core::StringView keySlotIdentifier) const noexcept=0;

Unregisters any previously UpdateObserver callback that has been registered previously by the application.

virtual ara::core::Result< void > UnregisterUpdateObserver () const noexcept=0;

المعاملات

operator= دالة 2

Copy-assign another KeySlot to this instance.

التحميلات الزائدة = 2
KeySlot & operator= (const KeySlot &other)=delete; SWS_CRYPT_50147
KeySlot & operator= (KeySlot &&other)=delete; SWS_CRYPT_50148

أسماء الأنواع البديلة

Sptr اسم نوع بديل

Smart pointer of the interface.

using Sptr = std::shared_ptr<KeySlot>;

توثيق الدوال

دالة GetAlgId [SWS_CRYPT_50055] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< ara::crypto::AlgIdString > GetAlgId () const noexcept=0;

The interface shall return the AlgId of the currently stored key.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<ara::crypto::AlgIdString >A result containing the AlgId of the current key slot content

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot does not contain a key.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50055
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50055@rel:R25-11#e9f57727
Content hash
e9f57727
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50055
Status: valid/unmigrated Version: rel:R25-11#24c0bae9 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50055@rel:R25-11#24c0bae9
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة GetCryptoObjectType [SWS_CRYPT_50054] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< CryptoObjectType > GetCryptoObjectType () const noexcept=0;

The interface shall return the CryptoObjectType of the currently stored key.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< CryptoObjectType >A result containing the CryptoObjectType of the currently stored key.

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot does not contain a key.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50054
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50054@rel:R25-11#f026adf3
Content hash
f026adf3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50054
Status: valid/unmigrated Version: rel:R25-11#4fb87b0b Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50054@rel:R25-11#4fb87b0b
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة GetCryptoProvider [SWS_CRYPT_30403] Upstream: RS_CRYPTO_02401

virtual ara::core::Result< std::shared_ptr< cryp::CryptoProvider > > GetCryptoProvider () const noexcept=0;

The interface shall return an instance of the CryptoProvider that is responsible for this KeySlot.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::shared_ptr<cryp::CryptoProvider > >a result containing a shared pointer to the CryptoProvider to be used with this KeySlot

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_30403
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30403@rel:R25-11#5d75c209
Content hash
5d75c209
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30403
Status: valid/unmigrated Version: rel:R25-11#5cab9276 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_30403@rel:R25-11#5cab9276
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#521de99b2026-09-30
  • R20-11rel:R20-11#26f02eba2026-10-14
  • R21-11rel:R21-11#9fc6a2d12026-10-14
  • R22-11rel:R22-11#c2239d192026-10-14
  • R23-11rel:R23-11#c19ad2fa2026-10-14
  • R24-11rel:R24-11#5558cd092026-10-14
  • R25-11rel:R25-11#5cab92762026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة GetPossibleAlgIds [SWS_CRYPT_50056] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< ara::core::Vector< ara::crypto::AlgIdString > > GetPossibleAlgIds () const noexcept=0;

The interface shall return a vector of AlgIds supported by this KeySlot.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::Vector<ara::crypto::AlgIdString > >A result containing the possible AlgIds of the key slot

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50056
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50056@rel:R25-11#4db2faf8
Content hash
4db2faf8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50056
Status: valid/unmigrated Version: rel:R25-11#d68e626e Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50056@rel:R25-11#d68e626e
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة KeySlot [SWS_CRYPT_50149] Upstream: RS_CRYPTO_02004

KeySlot (const KeySlot &)=delete;

Copy-Constructor.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50149
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50149@rel:R25-11#14438e1b
Content hash
14438e1b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50149
Status: valid/unmigrated Version: rel:R25-11#c337b0c3 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50149@rel:R25-11#c337b0c3
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة KeySlot [SWS_CRYPT_50150] Upstream: RS_CRYPTO_02004

KeySlot (KeySlot &&)=delete;

Move-Constructor.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50150@rel:R25-11#6f9c9983
Content hash
6f9c9983
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50150
Status: valid/unmigrated Version: rel:R25-11#4bc5a8dd Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50150@rel:R25-11#4bc5a8dd
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة RegisterUpdateObserver [SWS_CRYPT_30404] Upstream: RS_CRYPTO_02401

virtual ara::core::Result< void > RegisterUpdateObserver (std::function< void(ara::core::StringView)> callback, ara::core::StringView keySlotIdentifier) const noexcept=0;

The interface shall register an application callback function to be called when the content of the KeySlot is updated (i.e., modified or cleared). If this function is called multiple times, only the most recently registered callback of an application will be called.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 9361e576efa7 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الطريقة RegisterUpdateObserver للفئة ara::crypto::cryp::KeySlot لتسجيل دالة استدعاء رجعي خاصة بالتطبيق، والتي يتم إشعارها عند كل تحديث لمحتوى خانة مفتاح (Keyslot) [SWS_CRYPT_30404]. وتُعد التعديلات على المحتوى وكذلك الإفراغ الكامل للخانة بمثابة تحديث في هذا السياق [SWS_CRYPT_30404].

الاستخدام والمعلمات

يتم تضمين الدالة عبر الترويسة ara/crypto/cryp/keyslot.h وتستقبل الاستدعاء الرجعي callback ومعرّفًا keySlotIdentifier [SWS_CRYPT_30404]. ويتلقى كائن الدالة callback السلسلة النصية keySlotIdentifier كوسيط عند الاستدعاء، وذلك للتمكن من ربط الخانة المعنية في منطق التطبيق بشكل فريد [SWS_CRYPT_30404]. وعند تكرار استدعاءات RegisterUpdateObserver بواسطة التطبيق نفسه، يتم الاحتفاظ بدالة الاستدعاء الرجعي المسجلة مؤخرًا فقط وتنفيذها [SWS_CRYPT_30404].

التزامن ومعالجة الأخطاء

الواجهة آمنة خيطيًا (thread-safe) ومحددة كـ noexcept دون إطلاق استثناءات [SWS_CRYPT_30404]. وتُرجع ara::core::Result<void> [SWS_CRYPT_30404]. ولا توجد أخطاء قياسية؛ وفي حالة الخطأ يتم إرجاع رمز خطأ خاص بالتنفيذ [SWS_CRYPT_30404]. تفسير: من المرجح أن يتم الاستدعاء الفعلي لدالة الاستدعاء الرجعي بشكل غير متزامن في سياق برنامج تشغيل التشفير بمجرد أن يصبح التحديث ساريًا في مخزن المفاتيح. سؤال Q-cfbcc1ddcbe88062 (مفتوح)

تستند ملاحظة الاستخدام هذه إلى مواصفة AUTOSAR Adaptive R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
callbackthe registered callback function to be called when the KeySlot content is modified
keySlotIdentifieran application-specific identified of the KeySlot which will be used as a parameter of the callback function

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an implementation specific error.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_30404
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30404@rel:R25-11#c3503e4f
Content hash
c3503e4f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30404
Status: valid/unmigrated Version: rel:R25-11#00db85c0 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_30404@rel:R25-11#00db85c0
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#6cb45e062026-09-30
  • R20-11rel:R20-11#68122f052026-10-14
  • R21-11rel:R21-11#68122f052026-10-14
  • R22-11rel:R22-11#4bd4986b2026-10-14
  • R23-11rel:R23-11#b0d1e1432026-10-14
  • R24-11rel:R24-11#d83bf7342026-10-14
  • R25-11rel:R25-11#00db85c02026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة UnregisterUpdateObserver [SWS_CRYPT_30406] Upstream: RS_CRYPTO_02401

virtual ara::core::Result< void > UnregisterUpdateObserver () const noexcept=0;

Unregisters any previously UpdateObserver callback that has been registered previously by the application.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: b5edba50839d المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الطريقة UnregisterUpdateObserver من الفئة ara::crypto::cryp::KeySlot لإلغاء تسجيل استدعاء راجع لمراقب (UpdateObserver) كان التطبيق قد سجله سابقًا [SWS_CRYPT_30406]. صُرح عن الدالة في ملف الرأس ara/crypto/cryp/keyslot.h، وصُممت كطريقة افتراضية بحتة (=0)، ولا تتوقع أي معلمات تمرير [SWS_CRYPT_30406].

فيما يتعلق بسياق الاستدعاء والتزامن، تنطبق الشروط الحدية التالية:

  • دلالات متزامنة وأمان بالنسبة للخيوط: يتم إلغاء التسجيل بشكل متزامن، وحُدد صراحة بأنه thread-safe [SWS_CRYPT_30406]. بالتالي، يمكن تنفيذ الاستدعاءات بطريقة آمنة بالنسبة للخيوط وبالتزامن مع عمليات أخرى على نفس مثيل KeySlot.
  • الأمان من الاستثناءات: تمتلك الطريقة المواصفة noexcept وتُعد آمنة من الاستثناءات (exception-safe) [SWS_CRYPT_30406]. لذلك، لا تؤدي حالات الخطأ بأي حال من الأحوال إلى استثناءات C++‎، بل تتم معالجتها بطريقة منظمة عبر كائن الإرجاع.

كقيمة إرجاع، تُقدم الدالة ara::core::Result<void>، والتي تكون فارغة عند نجاح إلغاء التسجيل أو تغلف رمز خطأ في حالة الفشل [SWS_CRYPT_30406]. تتعمد المواصفة عدم تحديد رموز أخطاء AUTOSAR معيارية لهذا الاستدعاء؛ ولذا فإن أي أخطاء محتملة تكون خاصة بالشركة المصنعة أو خاصة بالتنفيذ [SWS_CRYPT_30406]. يجب على المستدعين فحص النتيجة للتأكد من خلوها من الأخطاء، ولكن لا يمكنهم التحقق بناءً على ثوابت أخطاء معيارية.

بالتكامل مع إدارة المفاتيح، يمنع إلغاء التسجيل بشكل موثوق تلقي التطبيق لأي إشعارات إضافية بشأن التغييرات في محتوى المفتاح. وإذا لم يكن هناك أي رد نداء مسجل في وقت الاستدعاء، فوفقًا للتفسير يُرجح أن تعود الدالة بنجاح دون أي تأثير أو أن تُصدر خطأ خاصًا بالتنفيذ. سؤال Q-7a1e7e0db0691ce6 (مفتوح)

تم إنشاء ملاحظة الاستخدام هذه تلقائياً بناءً على مواصفة AUTOSAR.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an implementation specific error.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_30406
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30406@rel:R25-11#1e28c23d
Content hash
1e28c23d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30406
Status: valid/unmigrated Version: rel:R25-11#bbacdbfa Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_30406@rel:R25-11#bbacdbfa
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7a49fb252026-09-30
  • R20-11rel:R20-11#d23bfef12026-10-14
  • R21-11rel:R21-11#146b6c222026-10-14
  • R22-11rel:R22-11#34a2bb242026-10-14
  • R23-11rel:R23-11#c39da02b2026-10-14
  • R24-11rel:R24-11#28d79d9d2026-10-14
  • R25-11rel:R25-11#bbacdbfa2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة operator= [SWS_CRYPT_50147] Upstream: RS_CRYPTO_02004

KeySlot & operator= (const KeySlot &other)=delete;

Copy-assign another KeySlot to this instance.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50147
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50147@rel:R25-11#29a6e8e9
Content hash
29a6e8e9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50147
Status: valid/unmigrated Version: rel:R25-11#4184cb45 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50147@rel:R25-11#4184cb45
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة operator= [SWS_CRYPT_50148] Upstream: RS_CRYPTO_02004

KeySlot & operator= (KeySlot &&other)=delete;

Move-assign another KeySlot to this instance.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50148
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50148@rel:R25-11#11f095f3
Content hash
11f095f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50148
Status: valid/unmigrated Version: rel:R25-11#6c6a4006 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50148@rel:R25-11#6c6a4006
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة ~KeySlot [SWS_CRYPT_50146] Upstream: RS_CRYPTO_02405

virtual ~KeySlot () noexcept=default;

Destructor.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
Exception-Sicherheitexception safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50146
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50146@rel:R25-11#1eb50f1a
Content hash
1eb50f1a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50146
Status: valid/unmigrated Version: rel:R25-11#b9fe0bea Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50146@rel:R25-11#b9fe0bea
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

توثيق أسماء الأنواع البديلة

اسم نوع بديل Sptr [SWS_CRYPT_50151] Upstream: RS_CRYPTO_02405

using Sptr = std::shared_ptr<KeySlot>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
SymbolSptr

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50151@rel:R25-11#a41b48df
Content hash
a41b48df
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50151
Status: valid/unmigrated Version: rel:R25-11#2fca90de Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50151@rel:R25-11#2fca90de
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill