mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
add error handle; VlInt
This commit is contained in:
1 parent
17e35f10d0
commit
de55943194
6 files changed
+131
-48
No files matched your search
@@ -155,7 +155,13 @@ public class SignatureInfo implements TlvComponentBase, IEncodingAble {
|
||||
int elementSize=block.getSubElements().length();
|
||||
for (int i=0;i<elementSize;i++) {
|
||||
Block cacheBlock=block.getSubElements().getBlock(i);
|
||||
switch (cacheBlock.getType().getVlIntValue2Int()){
|
||||
int type= 0;
|
||||
try {
|
||||
type = cacheBlock.getType().getVlIntValue2Int();
|
||||
} catch (VlIntException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
switch (type){
|
||||
case TLV.TlvSignatureType:
|
||||
if(!this.signatureType.wireDecode(cacheBlock)){
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user