2022-01-13 20:34:59 +03:00
|
|
|
def _asn1_ber_torepr:
|
2022-03-08 19:09:48 +03:00
|
|
|
if .class == "universal" then
|
|
|
|
if .tag | . == "sequence" or . == "set" then
|
|
|
|
.constructed | map(_asn1_ber_torepr)
|
|
|
|
else .value | tovalue
|
|
|
|
end
|
|
|
|
else .constructed | map(_asn1_ber_torepr)
|
|
|
|
end;
|