Decode Android Key Attestation Extension data (OID: 1.3.6.1.4.1.11129.2.1.17) to extract device security and integrity information.
This endpoint decodes the ASN.1 encoded attestation extension from Android device certificates. It extracts critical security information including:
This API expects hex-encoded ASN.1 data, not base64. The data should be the raw attestation extension bytes converted to a hexadecimal string.
Send a POST request to this endpoint with hex-encoded ASN.1 attestation extension data.
POST /android/device/integrity/attestation/asn1_decoder
Content-Type: application/json
{
"attestation_asn1": "3082015a30820105a003020102020103300d060960864801650304020130..."
}
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"security_level": "TEE",
"package_name": "com.example.app",
"application_cert": "a1b2c3d4e5f6...",
"bootloader_locked": true,
"verified_boot": "GREEN"
}
The hex-encoded data should represent the ASN.1 DER-encoded structure containing: