Enumeration enm = ((ASN1Sequence)ee).getObjects();
while (enm.hasMoreElements()) {
byte[] octets = ((ASN1OctetString)enm.nextElement()).getOctets();
combinedOctets.append(octets);
}
ec.setEncData(new DEROctetString(combinedOctets.bytes()));
} else {
ec.setEncData((ASN1OctetString)ee);
}
}
return ec;