ASICS
application/vnd.etsi.asic-s+zip
Magic Bytes
Offset: 0
50 4B 03 04
Associated Signature Container Simple (ASiC-S) is a standardized container format developed and maintained by the European Telecommunications Standards Institute (ETSI). This ZIP-based structure binds a single data object with detached digital signatures to ensure long-term preservation and is utilized for electronic invoicing, contract signing, and regulated document workflows. While the container itself is safe, security depends upon the validity of the enclosed cryptographic proofs and the integrity of the underlying certificate authorities.
Validation Code
How to validate .asics files in Python
Python
def is_asics(file_path: str) -> bool:
"""Check if file is a valid ASICS by magic bytes."""
signature = bytes([0x50, 0x4B, 0x03, 0x04])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .asics files in Node.js
Node.js
function isASICS(buffer: Buffer): boolean {
const signature = Buffer.from([0x50, 0x4B, 0x03, 0x04]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsASICS(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/asics
curl https://filesignature.org/api/v1/asics