29 references to AsnWriter
System.Security.Cryptography (23)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
52AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
103AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 118AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
53AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
1838AsnWriter writer = new(AsnEncodingRules.BER, initialCapacity: pkcs8.Length); 1872AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, capacity);
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
155AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, MaxEncodedOidLengthForCommonHashAlgorithms);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (3)
2054AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, capacity); 2080AsnWriter writer = new(AsnEncodingRules.BER, initialCapacity: pkcs8.Length); 2109AsnWriter writer = new(AsnEncodingRules.BER, initialCapacity: pkcs8.Length);
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (2)
1689AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, capacity); 1813AsnWriter tmp = new(AsnEncodingRules.BER, initialCapacity: written);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (4)
666AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, capacity); 1879AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, capacity); 1899AsnWriter writer = new(AsnEncodingRules.BER, initialCapacity: pkcs8.Length); 1927AsnWriter writer = new(AsnEncodingRules.BER, initialCapacity: pkcs8.Length);
System\Security\Cryptography\Helpers.cs (1)
521AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, MaxEncodedOidLengthForCommonHashAlgorithms);
System\Security\Cryptography\X509Certificates\Asn1\BasicConstraintsAsn.xml.cs (1)
44AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize);
System\Security\Cryptography\X509Certificates\Asn1\TbsCertificateAsn.xml.cs (1)
58AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize);
System\Security\Cryptography\X509Certificates\MLDsaX509SignatureGenerator.cs (1)
29AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, InitialCapacity);
System\Security\Cryptography\X509Certificates\SlhDsaX509SignatureGenerator.cs (1)
29AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, InitialCapacity);
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (1)
157AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, initialCapacity: 11);
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (1)
58AsnWriter writer = new AsnWriter(AsnEncodingRules.DER, initialCapacity: 5);
System.Security.Cryptography.Pkcs (6)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
52AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
103AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize); 118AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnManagedIntegerDerMaxEncodeSize);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
53AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (1)
70AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (1)
71AsnWriter tmp = new AsnWriter(AsnEncodingRules.DER, initialCapacity: AsnBoolDerEncodeSize);