verify_aadhaar_offline_artifact
Verifies UIDAI Paperless Offline e-KYC XML/ZIP artifacts via RSA signature validation, safely parses them, and returns only masked Aadhaar and demographic data.
Instructions
Verify UIDAI Paperless Offline e-KYC XML/ZIP artifact (A3 Authenticity).
Defends against XXE and expansion bombs via defusedxml. Verifies UIDAI RSA digital signature against bundled trust anchor. DPDP Act compliant: extracts only masked Aadhaar (last 4 digits) and demographic attributes; never outputs raw identifiers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_code | No | 4-character share code if artifact is password-protected ZIP | |
| xml_or_zip_bytes_base64 | Yes | Base64-encoded or raw XML/ZIP of UIDAI Paperless Offline e-KYC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||