98 references to AsnWriter
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
369AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 515AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
369AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 515AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnWriter.cs (1)
68public AsnWriter(AsnEncodingRules ruleSet, int initialCapacity) : this(ruleSet)
System.Net.Security (3)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (3)
142AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 169AsnWriter mechListWriter = new AsnWriter(AsnEncodingRules.DER); 334AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System.Security.Cryptography (46)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (1)
54AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
74AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 88AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (3)
230AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 242AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 274AsnWriter inner = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (5)
248AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 461AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 478AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 516AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 828AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (1)
184AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (3)
221writer = new AsnWriter(AsnEncodingRules.DER); 337AsnWriter pkcs8Writer = new AsnWriter(AsnEncodingRules.BER); 373AsnWriter pkcs8Writer = new AsnWriter(AsnEncodingRules.BER);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (4)
178AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 212AsnWriter writer = new AsnWriter(AsnEncodingRules.BER); 265AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 291AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (1)
894AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
42AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
879AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (1)
345AsnWriter writer = (_writer ??= new AsnWriter(AsnEncodingRules.DER));
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.CdpExtension.cs (1)
72writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (1)
178AsnWriter writer = (_writer ??= new AsnWriter(AsnEncodingRules.DER));
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
57AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 96AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
178AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
72AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\Pkcs9ExtensionRequest.cs (1)
21AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
287AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (1)
83AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
81AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\SubjectAlternativeNameBuilder.cs (3)
55AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 70AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 91AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
100AsnWriter tmpWriter = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (1)
35private readonly AsnWriter _writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (2)
123AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 511AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
278AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (3)
241AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 311AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 410AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
67AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
141AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System.Security.Cryptography.Pkcs (44)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
128AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
144AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 163AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
Internal\Cryptography\PkcsHelpers.cs (4)
160AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 205AsnWriter writer = new AsnWriter(ruleSet); 548AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 557AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (3)
57AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 71AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 85AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (1)
54AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
74AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 88AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (1)
184AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (3)
221writer = new AsnWriter(AsnEncodingRules.DER); 337AsnWriter pkcs8Writer = new AsnWriter(AsnEncodingRules.BER); 373AsnWriter pkcs8Writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (1)
45AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\CmsSignature.cs (1)
223AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
211AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 243AsnWriter attrsWriter = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (4)
175AsnWriter contentsWriter = new AsnWriter(AsnEncodingRules.BER); 236AsnWriter writer = new AsnWriter(AsnEncodingRules.BER); 318AsnWriter contentsWriter = new AsnWriter(AsnEncodingRules.BER); 319AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
118AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
97AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (4)
408AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 453writer = new AsnWriter(AsnEncodingRules.BER); 460writer = new AsnWriter(AsnEncodingRules.BER); 482AsnWriter valueWriter = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (1)
54AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
269AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
28AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
329AsnWriter writer = new AsnWriter(ruleSet);
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (2)
158AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 375AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
128AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 147AsnWriter detachedWriter = new AsnWriter(AsnEncodingRules.DER); 153AsnWriter attachedWriter = new AsnWriter(AsnEncodingRules.BER); 367AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\SignerInfo.cs (3)
153AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 297AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 601AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);