Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReadSequence() [1/3]

AsnValueReader System.Formats.Asn1.AsnValueReader.ReadSequence ( Asn1Tag? expectedTag = null)
inlinepackage

Definition at line 112 of file AsnValueReader.cs.

113 {
114 AsnDecoder.ReadSequence(_span, _ruleSet, out var contentOffset, out var contentLength, out var bytesConsumed, expectedTag);
115 ReadOnlySpan<byte> span = _span.Slice(contentOffset, contentLength);
116 _span = _span.Slice(bytesConsumed);
117 return new AsnValueReader(span, _ruleSet);
118 }
readonly AsnEncodingRules _ruleSet
AsnValueReader(ReadOnlySpan< byte > span, AsnEncodingRules ruleSet)
ReadOnlySpan< T > Slice(int start)

References System.Formats.Asn1.AsnValueReader.AsnValueReader(), System.Formats.Asn1.AsnValueReader._ruleSet, System.Formats.Asn1.AsnValueReader._span, System.Formats.Asn1.AsnDecoder.ReadSequence(), and System.ReadOnlySpan< T >.Slice().

Referenced by Internal.Cryptography.AsymmetricAlgorithmHelpers.ConvertDerToIeee1363(), System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.DecodeCore(), System.Security.Cryptography.Asn1.CurveAsn.DecodeCore(), System.Security.Cryptography.Asn1.DssParms.DecodeCore(), System.Security.Cryptography.Asn1.ECPrivateKey.DecodeCore(), System.Security.Cryptography.Asn1.EncryptedPrivateKeyInfoAsn.DecodeCore(), System.Security.Cryptography.Asn1.FieldID.DecodeCore(), System.Security.Cryptography.Asn1.PBEParameter.DecodeCore(), System.Security.Cryptography.Asn1.PBES2Params.DecodeCore(), System.Security.Cryptography.Asn1.Pbkdf2Params.DecodeCore(), System.Security.Cryptography.Asn1.Rc2CbcParameters.DecodeCore(), System.Security.Cryptography.Asn1.RSAPrivateKeyAsn.DecodeCore(), System.Security.Cryptography.Asn1.RSAPublicKeyAsn.DecodeCore(), System.Security.Cryptography.Asn1.SpecifiedECDomain.DecodeCore(), System.Security.Cryptography.Asn1.SubjectPublicKeyInfoAsn.DecodeCore(), System.Security.Cryptography.X509Certificates.Asn1.CertificateAsn.DecodeCore(), System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn.DecodeCore(), System.Security.Cryptography.Asn1.CurveAsn.DecodeCore(), System.Security.Cryptography.Asn1.ECPrivateKey.DecodeCore(), System.Security.Cryptography.Asn1.EncryptedPrivateKeyInfoAsn.DecodeCore(), System.Security.Cryptography.Asn1.FieldID.DecodeCore(), System.Security.Cryptography.Asn1.PBEParameter.DecodeCore(), System.Security.Cryptography.Asn1.PBES2Params.DecodeCore(), System.Security.Cryptography.Asn1.Pbkdf2Params.DecodeCore(), System.Security.Cryptography.Asn1.Rc2CbcParameters.DecodeCore(), System.Security.Cryptography.Asn1.SpecifiedECDomain.DecodeCore(), System.Security.Cryptography.Asn1.SubjectPublicKeyInfoAsn.DecodeCore(), System.Security.Cryptography.X509Certificates.Asn1.ValidityAsn.DecodeCore(), and System.Security.Cryptography.Asn1.X509ExtensionAsn.DecodeCore().