ASICE
application/vnd.etsi.asic-e+zip
Magic Bytes
Offset: 0
50 4B 03 04
ASiC-E (Associated Signature Containers - Extended) is a standardized container format developed by the European Telecommunications Standards Institute (ETSI) for bundling data objects with digital signatures. It is predominantly used within the European Union for secure electronic signatures and the exchange of legally binding documents compliant with eIDAS regulations. Built on standard archive technology, this format ensures long-term validation and data integrity, provided that the encapsulated cryptographic signatures are verified against trusted authorities.
Validation Code
How to validate .asice files in Python
Python
def is_asice(file_path: str) -> bool:
"""Check if file is a valid ASICE by magic bytes."""
signature = bytes([0x50, 0x4B, 0x03, 0x04])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .asice files in Node.js
Node.js
function isASICE(buffer: Buffer): boolean {
const signature = Buffer.from([0x50, 0x4B, 0x03, 0x04]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsASICE(data []byte) bool {
signature := []byte{0x50, 0x4B, 0x03, 0x04}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/asice
curl https://filesignature.org/api/v1/asice