add test: SignatureInfoTest

This commit is contained in:
free will committed 2021-04-01 17:18:11 +08:00
1 parent c8f0e35f1b
commit c45667cc8d
6 files changed
+182 -96

No files matched your search

+2
View File
@@ -212,10 +212,12 @@ public class Data implements IEncodingAble, InteractWithField {
if (!this.freshnessPeriod.wireDecode(newblock)) {
return false;
}
break;
case TLV.TlvPayload:
if (!this.payload.wireDecode(newblock)) {
return false;
}
break;
default:
// TODO: 这边可以规定哪些范围是自定义的,哪些是预留的,然后根据需要这边抛出错误