diff --git a/DProto/6A.xml b/DProto/6A.xml index cc0dec8..4c3c2f0 100644 --- a/DProto/6A.xml +++ b/DProto/6A.xml @@ -20,6 +20,9 @@ + @@ -52,12 +55,12 @@ 可选项,只针对“证书模式”为 1时有。 - - 只针对算法标识为3时传入 + + 只针对算法标识为3、4时传入 - - 只针对算法标识为3时传入 + + 只针对算法标识为3、4时传入 diff --git a/DProto/72.xml b/DProto/72.xml index 786f291..e52e599 100644 --- a/DProto/72.xml +++ b/DProto/72.xml @@ -6,6 +6,9 @@ 72 + + 可选,存在,则固定值为‘R’ + 公钥长度 diff --git a/DProto/7D.xml b/DProto/7D.xml index 92312ed..825048c 100644 --- a/DProto/7D.xml +++ b/DProto/7D.xml @@ -75,7 +75,7 @@ - + 只对“消息块号”为 2、1 时有效 @@ -108,6 +108,17 @@ function filterDataLength(){ var data = $packet.data; return data.filterData.length; } +function hashLen(){ + if (0 == $packet.data.hashType$option){ + return 20; + } + if (1== $packet.data.hashType$option){ + return 32; + } + if (2 == $packet.data.hashType$option){ + return 16; + } +} function getFilterDataLen() { return Util.a2i( $final.getSection('data').getSection('filterDataLen') ) diff --git a/DProto/8003.xml b/DProto/8003.xml index 21d1286..e751e17 100644 --- a/DProto/8003.xml +++ b/DProto/8003.xml @@ -6,6 +6,9 @@ 8003 + + 可选,存在,则固定值为‘P’ +