parseControls static method

List<Control> parseControls(
  1. ASN1Sequence obj
)

Implementation

static List<Control> parseControls(ASN1Sequence obj) {
  clogger.finest('Create Controls from $obj');
  // todo: Parse the object, return
  var controls = <Control>[];

  for (var control in obj.elements) {
    var c = _parseControl(control as ASN1Sequence);
    if (c != null) {
      controls.add(c);
    }
  }
  return controls;
}