{"success":true,"data":{"ext":"jceks","name":"Java Cryptography Extension keystorefile","description":"Java Cryptography Extension KeyStore (JCEKS) is a keystore format defined for the Java platform and maintained as part of Oracle’s Java security libraries. It is used to store cryptographic keys, certificates, and secrets for Java applications, particularly in server configuration and application security tooling. JCEKS supports stronger protection for secret keys than older keystore types, but files should still be protected carefully because they may contain sensitive credentials.","mime":[],"risk_level":"Safe","signatures":[{"hex":"CE CE CE CE","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_jceks(file_path: str) -> bool:\n    \"\"\"Check if file is a valid JCEKS by magic bytes.\"\"\"\n    signature = bytes([0xCE, 0xCE, 0xCE, 0xCE])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isJCEKS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xCE, 0xCE, 0xCE, 0xCE]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsJCEKS(data []byte) bool {\n    signature := []byte{0xCE, 0xCE, 0xCE, 0xCE}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}