85 references to WriteInteger
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
384writer.WriteInteger(1); 466writer.WriteInteger(_crlNumber);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
384writer.WriteInteger(1); 466writer.WriteInteger(_crlNumber);
System.DirectoryServices.Protocols (11)
System\DirectoryServices\Protocols\common\DirectoryControl.cs (11)
442writer.WriteInteger((int)Flag); 489writer.WriteInteger((int)SecurityMasks); 532writer.WriteInteger((int)SearchOption); 587writer.WriteInteger(Flag); 663writer.WriteInteger((int)Option); 664writer.WriteInteger(AttributeCount); 759writer.WriteInteger(PageSize); 1059writer.WriteInteger(BeforeCount); 1060writer.WriteInteger(AfterCount); 1071writer.WriteInteger(Offset); 1072writer.WriteInteger(EstimateCount);
System.Security.Cryptography (42)
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (1)
28writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
27writer.WriteInteger(IterationCount);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
44writer.WriteInteger(IterationCount); 48writer.WriteInteger(KeyLength.Value);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
53tmp.WriteInteger(IterationCount);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (1)
27writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (1)
28writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (1)
31writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (1)
32writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
29writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
104tmp.WriteInteger(SaltLength); 119tmp.WriteInteger(TrailerField);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (1)
26writer.WriteInteger(Rc2Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\RSAPrivateKeyAsn.xml.cs (1)
33writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (1)
31writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (1)
282writer.WriteInteger(1);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
245writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (1)
190writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
1037writer.WriteInteger(iterationCount); 1059writer.WriteInteger(iterationCount);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (3)
231writer.WriteInteger(3); 275writer.WriteInteger(iterationCount); 331writer.WriteInteger(3);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
399writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
171writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
158writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
670writer.WriteInteger(0); // Version
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (1)
1279writer.WriteInteger(3);
System\Security\Cryptography\EccKeyFormatHelper.cs (7)
555writer.WriteInteger(1); 576writer.WriteInteger(m); 584writer.WriteInteger(k1); 585writer.WriteInteger(k2); 586writer.WriteInteger(k3); 597writer.WriteInteger(k1); 790writer.WriteInteger(1);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (1)
56writer.WriteInteger(PathLengthConstraint.Value);
System\Security\Cryptography\X509Certificates\Asn1\CertificateTemplateAsn.xml.cs (2)
35writer.WriteInteger(TemplateMajorVersion); 39writer.WriteInteger(TemplateMinorVersion.Value);
System\Security\Cryptography\X509Certificates\Asn1\PolicyConstraintsAsn.xml.cs (2)
29writer.WriteInteger(RequireExplicitPolicyDepth.Value, new Asn1Tag(TagClass.ContextSpecific, 0)); 35writer.WriteInteger(InhibitMappingDepth.Value, new Asn1Tag(TagClass.ContextSpecific, 1));
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (1)
59tmp.WriteInteger(Version);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (1)
369writer.WriteInteger(1);
System.Security.Cryptography.Pkcs (28)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
27writer.WriteInteger(IterationCount);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
44writer.WriteInteger(IterationCount); 48writer.WriteInteger(KeyLength.Value);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
53tmp.WriteInteger(IterationCount);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (1)
27writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (1)
28writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (1)
31writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (1)
32writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
29writer.WriteInteger(Version);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
104tmp.WriteInteger(SaltLength); 119tmp.WriteInteger(TrailerField);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (1)
26writer.WriteInteger(Rc2Version);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (1)
190writer.WriteInteger(0);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
1037writer.WriteInteger(iterationCount); 1059writer.WriteInteger(iterationCount);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (3)
231writer.WriteInteger(3); 275writer.WriteInteger(iterationCount); 331writer.WriteInteger(3);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
399writer.WriteInteger(0);
System\Security\Cryptography\Pkcs\Asn1\EnvelopedDataAsn.xml.cs (1)
30writer.WriteInteger(Version);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (1)
30writer.WriteInteger(Version);
System\Security\Cryptography\Pkcs\Asn1\KeyTransRecipientInfoAsn.xml.cs (1)
28writer.WriteInteger(Version);
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (1)
27writer.WriteInteger(Status);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.xml.cs (3)
30writer.WriteInteger(Seconds.Value); 36writer.WriteInteger(Millis.Value, new Asn1Tag(TagClass.ContextSpecific, 0)); 42writer.WriteInteger(Micros.Value, new Asn1Tag(TagClass.ContextSpecific, 1));
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (1)
45writer.WriteInteger(Version);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (1)
49writer.WriteInteger(Version);