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