ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
การยืนยันที่มีการป้องกัน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้อธิบายการใช้งาน ConfirmationUI และข้อความยืนยัน
ไปยัง KeyMint
Android Protected Confirmation ใช้ประโยชน์จากอินเทอร์เฟซผู้ใช้ที่ได้รับการปกป้องด้วยฮาร์ดแวร์
ที่เรียกว่า Trusted UI เพื่ออำนวยความสะดวกในการทำธุรกรรมที่สำคัญ
ซึ่งมีความน่าเชื่อถือสูง การยืนยันที่ได้รับการปกป้องของ Android พร้อมให้บริการในอุปกรณ์ที่รองรับ
ซึ่งใช้ Android 9 (API ระดับ 28) ขึ้นไป
เมื่อแอปเรียกใช้การยืนยันที่ได้รับการปกป้อง UI ที่เชื่อถือได้จะสอบถามผู้ใช้เพื่อ
ยืนยัน UI ที่เชื่อถือได้จะยืนยันการอนุมัติข้อความที่แจ้งของผู้ใช้
ด้วยความมั่นใจสูง แม้ว่า Android หรือเคอร์เนล (Linux) จะถูก
บุกรุกก็ตาม จากนั้นระบบจะส่งการยืนยันนี้ไปยัง
บุคคลที่สามที่อยู่ระยะไกลพร้อมกับ KeyMint (เดิมคือ Keymaster)
นักพัฒนาแอปสามารถดูเอกสารประกอบสำหรับนักพัฒนาแอป Android Protected Confirmation ได้ที่ developer.android.com
ขอบเขต
การติดตั้งใช้งานการยืนยันที่ได้รับการปกป้องของ Android สามารถแบ่งออกเป็น 2 ส่วน
ซึ่งทั้ง 2 ส่วนอยู่ในสภาพแวดล้อมการดำเนินการที่เชื่อถือได้ (TEE) ส่วนหนึ่งคือส่วนขยายของ KeyMint โดยช่วยให้สร้างคีย์ที่มีข้อกำหนดการใช้งาน Tag::TRUSTED_CONFIRMATION_REQUIRED
ได้
ส่วนที่ 2 คือแอปชื่อ ConfirmationUI ซึ่ง
สร้างโทเค็นการยืนยัน โทเค็นเหล่านี้เป็นคำสั่งเข้ารหัสและ
จะส่งไปยัง KeyMint เมื่อผู้ใช้ยืนยันข้อความที่ระบุ
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Protected Confirmation\n\nThis page describes the implementation of ConfirmationUI and the confirmation statements\nto KeyMint.\n\nAndroid Protected Confirmation leverages a hardware-protected user interface\ncalled **Trusted UI** to facilitate high assurance to critical\ntransactions. Android Protected Confirmation is available to supported devices\nrunning Android 9 (API level 28) or higher.\n\nWhen an app invokes Protected Confirmation, Trusted UI queries the user for\nconfirmation. The Trusted UI asserts the user's approval of the prompted message\nwith a high degree of confidence even if Android or its kernel (Linux) have been\ncompromised. Together with KeyMint (previously Keymaster), this assertion is then conveyed to a\nremote party.\n\nDevelopers can view the Android Protected Confirmation developer\ndocumentation at [developer.android.com](https://developer.android.com/training/articles/security-android-protected-confirmation).\n\nScope\n-----\n\nThe implementation of Android Protected Confirmation can be split into two\nparts, both residing in the Trusted Execution Environment (TEE). One part is an\nextension to [KeyMint](/security/keystore). It allows\nthe generation of keys with the usage requirement `Tag::TRUSTED_CONFIRMATION_REQUIRED`.\nThe second part is an app called **ConfirmationUI**, which\ngenerates confirmation tokens. These tokens are cryptographic statements and\nconvey to KeyMint when the user confirms a given message."]]