5 char *EncryptionMethod;
\r
16 char *CreatedTimestamp;
\r
17 char *ExpiredTimeStamp;
\r
18 char *ExpirationDate;
\r
21 typedef struct t_dcf_file_header
\r
23 unsigned char Version;
\r
24 unsigned char ContentTypeLen;
\r
25 unsigned char ContentURILen;
\r
28 unsigned int HeadersLen;
\r
29 unsigned int DataLen;
\r
31 unsigned int DataOffset;
\r
35 #define APPID_SIZE 16
\r
36 #define CEK_SIZE 512
\r
37 #define ENCRYPTION_METHOD_SIZE 512
\r
38 #define DEVICEID_SIZE 256
\r
39 #define TIMESTAMP_SIZE 256
\r
40 #define DIGESTVALUE_SIZE 256
\r
41 #define SIGNATUREVALUE_SIZE 1024
\r
42 #define CERT_SIZE 1024 * 4
\r
43 #define AES_BLOCK_SIZE 16
\r