Key File
Key File Format
Size | Description |
---|---|
16 | Component ID of the associated key manager |
16 | Key ID |
512 | Key data |
8 | Creation date (optional) |
. . . | Comment (optional, only if the previous field is present) |
16 | MD5 hash of prevous fields (may be zero) |
The comment is a string of UTF-16 character without terminating zero.
If the file size is more than 560 bytes, then the timestamp is present. In this case the comment size in characters is computed as:
nChars = ( fileSize - 568 ) / 2
if nChars is zero, then the file has no attached comment.
The size of the comment must not exceed 4229 characters so that the total file size never exceeds 9026 bytes (the size of Kryptel 5 key file).