38 references to AsnContentException
System.Formats.Asn1 (38)
System\Formats\Asn1\Asn1Tag.cs (1)
260
throw new
AsnContentException
(SR.ContentException_InvalidTag);
System\Formats\Asn1\AsnDecoder.BitString.cs (6)
342
throw new
AsnContentException
(SR.ContentException_InvalidUnderCer_TryBerOrDer);
386
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
489
throw new
AsnContentException
(SR.ContentException_InvalidUnderCer_TryBerOrDer);
541
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
606
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
653
throw new
AsnContentException
(SR.ContentException_InvalidUnderDer_TryBerOrCer);
System\Formats\Asn1\AsnDecoder.Boolean.cs (1)
76
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
System\Formats\Asn1\AsnDecoder.cs (9)
195
throw new
AsnContentException
(
307
throw new
AsnContentException
(SR.ContentException_LengthTooBig);
310
throw new
AsnContentException
(SR.ContentException_LengthRuleSetConstraint);
538
return new
AsnContentException
(SR.ContentException_CerRequiresIndefiniteLength);
540
return new
AsnContentException
(SR.ContentException_LengthExceedsPayload);
651
throw new
AsnContentException
(SR.ContentException_LengthExceedsPayload);
670
throw new
AsnContentException
(SR.ContentException_LengthExceedsPayload);
719
throw new
AsnContentException
(
812
throw new
AsnContentException
(SR.ContentException_TooMuchData);
System\Formats\Asn1\AsnDecoder.Enumerated.cs (3)
230
throw new
AsnContentException
(SR.ContentException_EnumeratedValueTooBig);
251
throw new
AsnContentException
(SR.ContentException_EnumeratedValueTooBig);
258
throw new
AsnContentException
(
System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs (4)
120
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
206
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
338
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
343
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (2)
213
throw new
AsnContentException
(
245
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
System\Formats\Asn1\AsnDecoder.OctetString.cs (6)
204
throw new
AsnContentException
(SR.ContentException_InvalidUnderDer_TryBerOrCer);
216
throw new
AsnContentException
(SR.ContentException_InvalidUnderCer_TryBerOrDer);
301
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
352
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
371
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
406
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);
System\Formats\Asn1\AsnDecoder.Oid.cs (2)
133
throw new
AsnContentException
(SR.ContentException_OidTooBig);
312
throw new
AsnContentException
(SR.ContentException_OidTooBig);
System\Formats\Asn1\AsnDecoder.Sequence.cs (1)
70
throw new
AsnContentException
(
System\Formats\Asn1\AsnDecoder.SetOf.cs (2)
76
throw new
AsnContentException
(
116
throw new
AsnContentException
(SR.ContentException_SetOfNotSorted);
System\Formats\Asn1\AsnDecoder.UtcTime.cs (1)
136
throw new
AsnContentException
(SR.ContentException_InvalidUnderCerOrDer_TryBer);