22 references to LengthDecodeStatus
System.Formats.Asn1 (22)
System\Formats\Asn1\AsnDecoder.cs (22)
295
return DecodeLength(source, ruleSet, out length, out bytesRead) ==
LengthDecodeStatus
.Success;
300
LengthDecodeStatus
status = DecodeLength(source, ruleSet, out int? length, out bytesConsumed);
304
case
LengthDecodeStatus
.Success:
306
case
LengthDecodeStatus
.LengthTooBig:
308
case
LengthDecodeStatus
.LaxEncodingProhibited:
309
case
LengthDecodeStatus
.DerIndefinite:
311
case
LengthDecodeStatus
.NeedMoreData:
312
case
LengthDecodeStatus
.ReservedValue:
316
goto case
LengthDecodeStatus
.NeedMoreData;
320
private static
LengthDecodeStatus
DecodeLength(
333
return
LengthDecodeStatus
.NeedMoreData;
352
return
LengthDecodeStatus
.DerIndefinite;
356
return
LengthDecodeStatus
.Success;
362
return
LengthDecodeStatus
.Success;
368
return
LengthDecodeStatus
.ReservedValue;
377
return
LengthDecodeStatus
.NeedMoreData;
391
return
LengthDecodeStatus
.LengthTooBig;
406
return
LengthDecodeStatus
.LaxEncodingProhibited;
418
return
LengthDecodeStatus
.LengthTooBig;
431
return
LengthDecodeStatus
.LengthTooBig;
437
return
LengthDecodeStatus
.LaxEncodingProhibited;
442
return
LengthDecodeStatus
.Success;