173 references to HasSameClassAndValue
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (2)
350if (tbsRequest.PeekTag().HasSameClassAndValue(context0)) 362if (tbsRequest.PeekTag().HasSameClassAndValue(context1))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (2)
350if (tbsRequest.PeekTag().HasSameClassAndValue(context0)) 362if (tbsRequest.PeekTag().HasSameClassAndValue(context1))
System.Net.Security (4)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (4)
246if (challengeReader.HasData && challengeReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, (int)NegTokenResp.NegState))) 253if (challengeReader.HasData && challengeReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, (int)NegTokenResp.SupportedMech))) 260if (challengeReader.HasData && challengeReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, (int)NegTokenResp.ResponseToken))) 267if (challengeReader.HasData && challengeReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, (int)NegTokenResp.MechListMIC)))
System.Security.Cryptography (73)
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (1)
105if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.PrimitiveBitString))
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (6)
72!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)28))) 149if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.T61String))) 153else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.PrintableString))) 157else if (tag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)28))) 162else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.UTF8String))) 166else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.BMPString)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECDomainParameters.xml.cs (2)
104if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 111else if (tag.HasSameClassAndValue(Asn1Tag.ObjectIdentifier))
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (2)
113if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 124if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (1)
85if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (10)
89!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3))) 210if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 217else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 221else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 225else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3))) 230else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 4))) 237else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 5))) 244else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 6))) 248else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 7))) 261else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 8)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
118if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 133if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
100if (tag.HasSameClassAndValue(Asn1Tag.PrimitiveOctetString)) 113else if (tag.HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
123if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (1)
89if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (1)
118if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.SetOf))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (1)
94if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (1)
98if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
113if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (4)
178if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 191if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 204if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 227if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (2)
125if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 132if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.ObjectIdentifier))
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
115if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean))
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
125if (!tag.HasSameClassAndValue(expected))
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (2)
107if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean)) 118if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer))
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (1)
96if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer))
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (2)
33!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 107if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16)))
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointAsn.xml.cs (3)
104if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 115if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 121if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2)))
System\Security\Cryptography\X509Certificates\Asn1\DistributionPointNameAsn.xml.cs (3)
65!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 125if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 144else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
85if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 100if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (8)
74!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 92!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 187if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 212if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 220if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 229if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 244if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 259if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3)))
System\Security\Cryptography\X509Certificates\Asn1\TimeAsn.xml.cs (2)
97if (tag.HasSameClassAndValue(Asn1Tag.UtcTime)) 101else if (tag.HasSameClassAndValue(Asn1Tag.GeneralizedTime))
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (4)
262if (reader.PeekTag().HasSameClassAndValue(Asn1Tag.UtcTime)) 272if (reader.PeekTag().HasSameClassAndValue(Asn1Tag.UtcTime)) 277if (reader.PeekTag().HasSameClassAndValue(Asn1Tag.GeneralizedTime)) 315if (!revokedCertificate.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (3)
110if (tbsCertList.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 135if (tbsCertList.HasData && tbsCertList.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence)) 156if (extension.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean))
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (3)
528if (nextTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 538if (nextTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 575if (nextTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2)))
System.Security.Cryptography.Pkcs (92)
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (6)
72!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)28))) 149if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.T61String))) 153else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.PrintableString))) 157else if (tag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)28))) 162else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.UTF8String))) 166else if (tag.HasSameClassAndValue(new Asn1Tag(UniversalTagNumber.BMPString)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (1)
85if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (10)
89!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3))) 210if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 217else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 221else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 225else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3))) 230else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 4))) 237else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 5))) 244else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 6))) 248else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 7))) 261else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 8)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (3)
145if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 158if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 171if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
118if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 133if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
100if (tag.HasSameClassAndValue(Asn1Tag.PrimitiveOctetString)) 113else if (tag.HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
123if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (1)
89if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (1)
118if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.SetOf))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (1)
94if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (1)
98if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
113if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (4)
178if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 191if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 204if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 227if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3)))
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
115if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean))
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
125if (!tag.HasSameClassAndValue(expected))
System\Security\Cryptography\Pkcs\Asn1\CertificateChoiceAsn.xml.cs (9)
54!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 79!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 104!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 129!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 197if (tag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 202else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 207else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1))) 212else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 2))) 217else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 3)))
System\Security\Cryptography\Pkcs\Asn1\EncapsulatedContentInfoAsn.xml.cs (1)
101if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\EnvelopedDataAsn.xml.cs (2)
113if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 139if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\EssCertId.xml.cs (1)
93if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (2)
112if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence)) 133if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\Pkcs\Asn1\IssuerAndSerialNumberAsn.xml.cs (2)
29!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 93if (!sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16)))
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (2)
97if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 104else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (1)
114if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (3)
111if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 118else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 131else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\OriginatorInfoAsn.xml.cs (2)
111if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 132if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (2)
34!validateTag.HasSameClassAndValue(new Asn1Tag((UniversalTagNumber)16))) 119if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.PrimitiveBitString))
System\Security\Cryptography\Pkcs\Asn1\PolicyInformation.xml.cs (1)
97if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (2)
100if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 107else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (2)
97if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 104else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\RecipientKeyIdentifier.xml.cs (2)
100if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.GeneralizedTime)) 106if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.xml.cs (3)
92if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 107if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 122if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (4)
151if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.ObjectIdentifier)) 157if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 164if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean)) 175if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (5)
171if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence)) 180if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Boolean)) 191if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Integer)) 198if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 209if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (1)
95if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\SignedDataAsn.xml.cs (2)
156if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 177if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\SignerIdentifierAsn.xml.cs (2)
100if (tag.HasSameClassAndValue(Asn1Tag.Sequence)) 107else if (tag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0)))
System\Security\Cryptography\Pkcs\Asn1\SignerInfoAsn.xml.cs (3)
41!validateTag.HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 131if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 0))) 149if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(new Asn1Tag(TagClass.ContextSpecific, 1)))
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateAsn.xml.cs (1)
112if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateV2Asn.xml.cs (1)
112if (sequenceReader.HasData && sequenceReader.PeekTag().HasSameClassAndValue(Asn1Tag.Sequence))