changed return value of getBodyList() method.
@@ -94,9 +94,9 @@ public CMCStatus getcMCStatus()
return cMCStatus;
}
- public ASN1Sequence getBodyList()
+ public BodyPartID[] getBodyList()
{
- return bodyList;
+ return Utils.toBodyPartIDArray(bodyList);
}
public DERUTF8String getStatusString()
@@ -109,7 +109,8 @@ public OtherStatusInfo getOtherStatusInfo()
return otherStatusInfo;
}
- public boolean hasOtherInfo() {
+ public boolean hasOtherInfo()
+ {
return otherStatusInfo != null;
}
@@ -147,6 +148,4 @@ public ASN1Primitive toASN1Primitive()
return new DERSequence(v);
}
-
-
}
