212 references to DER
InMemory.FunctionalTests (4)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
369AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 515AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 676AsnReader reader = new AsnReader(certId, AsnEncodingRules.DER);
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
335AsnReader reader = new AsnReader(requestBytes, AsnEncodingRules.DER);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
369AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 515AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 676AsnReader reader = new AsnReader(certId, AsnEncodingRules.DER);
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
335AsnReader reader = new AsnReader(requestBytes, AsnEncodingRules.DER);
System.Formats.Asn1 (17)
System\Formats\Asn1\AsnDecoder.BitString.cs (2)
384if (ruleSet == AsnEncodingRules.DER || ruleSet == AsnEncodingRules.CER) 651if (ruleSet == AsnEncodingRules.DER)
System\Formats\Asn1\AsnDecoder.Boolean.cs (1)
74if (val != 0xFF && (ruleSet == AsnEncodingRules.DER || ruleSet == AsnEncodingRules.CER))
System\Formats\Asn1\AsnDecoder.cs (4)
349if (ruleSet == AsnEncodingRules.DER) 383ruleSet == AsnEncodingRules.DER || ruleSet == AsnEncodingRules.CER; 695Debug.Assert(ruleSet >= AsnEncodingRules.BER && ruleSet <= AsnEncodingRules.DER); 702ruleSet != AsnEncodingRules.DER)
System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs (1)
116bool strict = ruleSet == AsnEncodingRules.DER || ruleSet == AsnEncodingRules.CER;
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
232if (ruleSet == AsnEncodingRules.DER ||
System\Formats\Asn1\AsnDecoder.OctetString.cs (1)
202if (ruleSet == AsnEncodingRules.DER)
System\Formats\Asn1\AsnDecoder.SetOf.cs (1)
101if (ruleSet == AsnEncodingRules.DER ||
System\Formats\Asn1\AsnDecoder.UtcTime.cs (1)
132if (ruleSet == AsnEncodingRules.DER || ruleSet == AsnEncodingRules.CER)
System\Formats\Asn1\AsnWriter.cs (1)
46ruleSet != AsnEncodingRules.DER)
System\Formats\Asn1\AsnWriter.OctetString.cs (1)
51/// In <see cref="AsnEncodingRules.BER"/> and <see cref="AsnEncodingRules.DER"/> modes,
System\Formats\Asn1\AsnWriter.SetOf.cs (3)
24/// In <see cref="AsnEncodingRules.CER"/> and <see cref="AsnEncodingRules.DER"/> modes, 51/// In <see cref="AsnEncodingRules.CER"/> and <see cref="AsnEncodingRules.DER"/> modes, 78bool sortContents = RuleSet == AsnEncodingRules.CER || RuleSet == AsnEncodingRules.DER;
System.Net.Security (4)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (4)
142AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 169AsnWriter mechListWriter = new AsnWriter(AsnEncodingRules.DER); 225AsnValueReader reader = new AsnValueReader(challenge, AsnEncodingRules.DER); 334AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System.Security.Cryptography (108)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.GetIntegerBytes.cs (1)
42AsnEncodingRules.DER,
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (3)
28reader = new AsnValueReader(DefaultPrf, AsnEncodingRules.DER); 54AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 139defaultReader = new AsnValueReader(DefaultPrf, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (3)
26reader = new AsnValueReader(DefaultIterationCount, AsnEncodingRules.DER); 52AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 134defaultReader = new AsnValueReader(DefaultIterationCount, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.manual.cs (1)
33AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (12)
34reader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER); 38reader = new AsnValueReader(DefaultMaskGenAlgorithm, AsnEncodingRules.DER); 42reader = new AsnValueReader(DefaultSaltLength, AsnEncodingRules.DER); 51reader = new AsnValueReader(DefaultTrailerField, AsnEncodingRules.DER); 74AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 88AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 103AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 118AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 186defaultReader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER); 199defaultReader = new AsnValueReader(DefaultMaskGenAlgorithm, AsnEncodingRules.DER); 217defaultReader = new AsnValueReader(DefaultSaltLength, AsnEncodingRules.DER); 240defaultReader = new AsnValueReader(DefaultTrailerField, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (3)
26reader = new AsnValueReader(DefaultCritical, AsnEncodingRules.DER); 53AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize); 121defaultReader = new AsnValueReader(DefaultCritical, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (5)
34AsnEncodingRules.DER, 100AsnEncodingRules.DER, 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 (7)
164domainParameters = ECDomainParameters.Decode(algId.Parameters!.Value, AsnEncodingRules.DER); 217AsnEncodingRules.DER); 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 (3)
43AsnValueReader reader = new AsnValueReader(source.Span, AsnEncodingRules.DER); 74AsnValueReader reader = new AsnValueReader(source.Span, AsnEncodingRules.DER); 184AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
221writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (4)
80AsnValueReader reader = new AsnValueReader(keyData.Span, AsnEncodingRules.DER); 178AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 265AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 291AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (2)
42AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 72AsnValueReader reader = new AsnValueReader(input, AsnEncodingRules.DER);
System\Security\Cryptography\Helpers.cs (1)
273AsnValueReader reader = new AsnValueReader(encodedValue, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (3)
25reader = new AsnValueReader(DefaultCA, AsnEncodingRules.DER); 44AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize); 113defaultReader = new AsnValueReader(DefaultCA, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (3)
34reader = new AsnValueReader(DefaultVersion, AsnEncodingRules.DER); 58AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 200defaultReader = new AsnValueReader(DefaultVersion, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificatePolicy.cs (5)
292AsnValueReader reader = new AsnValueReader(rawData, AsnEncodingRules.DER); 308AsnEncodingRules.DER); 320AsnValueReader reader = new AsnValueReader(rawData, AsnEncodingRules.DER); 342AsnValueReader reader = new AsnValueReader(rawData, AsnEncodingRules.DER); 371AsnValueReader reader = new AsnValueReader(rawData, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (2)
822signatureAlgorithmAsn = AlgorithmIdentifierAsn.Decode(signatureAlgorithm, AsnEncodingRules.DER); 879AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (3)
136AsnValueReader outer = new AsnValueReader(pkcs10, AsnEncodingRules.DER); 230AsnEncodingRules.DER); 311AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
337signatureAlgorithmAsn = AlgorithmIdentifierAsn.Decode(signatureAlgId, AsnEncodingRules.DER); 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\CertificateRevocationListBuilder.Load.cs (2)
94AsnValueReader reader = new AsnValueReader(currentCrl, AsnEncodingRules.DER); 174AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
57AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 96AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (2)
163AsnReader reader = new AsnReader(ext.RawData, AsnEncodingRules.DER); 183CertificateTemplateAsn template = CertificateTemplateAsn.Decode(ext.RawData, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (1)
327AsnValueReader reader = new AsnValueReader(crlDistributionPoints, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
1233AsnValueReader reader = new AsnValueReader(authorityInformationAccess.Span, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
178AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (2)
48signatureAlgorithmAsn = AlgorithmIdentifierAsn.Decode(signatureAlgorithm, AsnEncodingRules.DER); 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 (2)
287AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 301AsnValueReader reader = new AsnValueReader(source, 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\X500DistinguishedName.cs (1)
134AsnValueReader outer = new AsnValueReader(rawDataSpan, 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\X500NameEncoder.ManagedDecode.cs (2)
24AsnReader x500NameReader = new AsnReader(encodedName, AsnEncodingRules.DER); 151Debug.Assert(tavReader.RuleSet == AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X500RelativeDistinguishedName.cs (2)
31AsnValueReader outer = new AsnValueReader(rawDataSpan, AsnEncodingRules.DER); 130AsnValueReader reader = new AsnValueReader(_singleElementValue.Span, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (2)
240AsnValueReader reader = new AsnValueReader(authorityInfoAccessSyntax, AsnEncodingRules.DER); 278AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (4)
241AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 311AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 410AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 517AsnValueReader reader = new AsnValueReader(rawData, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (1)
157AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, initialCapacity: 11);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
1105CertificateAsn.Decode(certData, AsnEncodingRules.DER); 1388AsnValueReader reader = new AsnValueReader(rdn.RawData.Span, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (1)
399CertificateAsn.Decode(certBytes, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
67AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
58AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, initialCapacity: 5);
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
82AsnValueReader outer = new AsnValueReader(rawData, AsnEncodingRules.DER);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
141AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System.Security.Cryptography.Pkcs (75)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
47AsnValueReader reader = new AsnValueReader(extension.RawData, AsnEncodingRules.DER);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
144AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 163AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
Internal\Cryptography\PkcsHelpers.cs (7)
160AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 175AsnValueReader reader = new AsnValueReader(normalizedValue, AsnEncodingRules.DER); 197AsnEncodingRules ruleSet = AsnEncodingRules.DER) 548AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 557AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 650OaepParamsAsn oaepParameters = OaepParamsAsn.Decode(parameters.Value, AsnEncodingRules.DER); 661AlgorithmIdentifierAsn mgf1AlgorithmIdentifier = AlgorithmIdentifierAsn.Decode(oaepParameters.MaskGenFunc.Parameters.Value, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (9)
31reader = new AsnValueReader(DefaultHashFunc, AsnEncodingRules.DER); 35reader = new AsnValueReader(DefaultMaskGenFunc, AsnEncodingRules.DER); 39reader = new AsnValueReader(DefaultPSourceFunc, AsnEncodingRules.DER); 57AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 71AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 85AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 153defaultReader = new AsnValueReader(DefaultHashFunc, AsnEncodingRules.DER); 166defaultReader = new AsnValueReader(DefaultMaskGenFunc, AsnEncodingRules.DER); 179defaultReader = new AsnValueReader(DefaultPSourceFunc, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (3)
28reader = new AsnValueReader(DefaultPrf, AsnEncodingRules.DER); 54AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 139defaultReader = new AsnValueReader(DefaultPrf, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (3)
26reader = new AsnValueReader(DefaultIterationCount, AsnEncodingRules.DER); 52AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 134defaultReader = new AsnValueReader(DefaultIterationCount, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.manual.cs (1)
33AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (12)
34reader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER); 38reader = new AsnValueReader(DefaultMaskGenAlgorithm, AsnEncodingRules.DER); 42reader = new AsnValueReader(DefaultSaltLength, AsnEncodingRules.DER); 51reader = new AsnValueReader(DefaultTrailerField, AsnEncodingRules.DER); 74AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 88AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 103AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 118AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 186defaultReader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER); 199defaultReader = new AsnValueReader(DefaultMaskGenAlgorithm, AsnEncodingRules.DER); 217defaultReader = new AsnValueReader(DefaultSaltLength, AsnEncodingRules.DER); 240defaultReader = new AsnValueReader(DefaultTrailerField, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (3)
26reader = new AsnValueReader(DefaultCritical, AsnEncodingRules.DER); 53AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize); 121defaultReader = new AsnValueReader(DefaultCritical, AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (3)
43AsnValueReader reader = new AsnValueReader(source.Span, AsnEncodingRules.DER); 74AsnValueReader reader = new AsnValueReader(source.Span, AsnEncodingRules.DER); 184AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
221writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (3)
27reader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER); 45AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER); 118defaultReader = new AsnValueReader(DefaultHashAlgorithm, AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (3)
30reader = new AsnValueReader(DefaultCertReq, AsnEncodingRules.DER); 70AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize); 170defaultReader = new AsnValueReader(DefaultCertReq, AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (3)
34reader = new AsnValueReader(DefaultOrdering, AsnEncodingRules.DER); 71AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize); 186defaultReader = new AsnValueReader(DefaultOrdering, AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\CmsSignature.cs (2)
166AsnReader reader = new AsnReader(derSignature, AsnEncodingRules.DER); 223AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (1)
304PssParamsAsn pssParams = PssParamsAsn.Decode(signatureParameters.Value, AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
211AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (2)
408AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 482AsnWriter valueWriter = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
28AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (3)
87AsnValueReader reader = new AsnValueReader(source.Span, AsnEncodingRules.DER); 328const AsnEncodingRules ruleSet = AsnEncodingRules.DER; 357const AsnEncodingRules RuleSet = AsnEncodingRules.DER;
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (5)
158AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 258AsnReader reader = new AsnReader(source, AsnEncodingRules.DER); 275Rfc3161TstInfo parsedInfo = Rfc3161TstInfo.Decode(firstElement, AsnEncodingRules.DER); 363tstInfo.Tsa = GeneralNameAsn.Decode(tsaName.Value, AsnEncodingRules.DER); 375AsnWriter writer = new AsnWriter(AsnEncodingRules.DER);
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
128AsnWriter writer = new AsnWriter(AsnEncodingRules.DER); 147AsnWriter detachedWriter = new AsnWriter(AsnEncodingRules.DER); 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);