src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (5)
67if (!AsnDecoder.TryReadEncodedValue(source, AsnEncodingRules.BER, out _, out _, out _, out int consumed) ||
87byte[] ret = AsnDecoder.ReadOctetString(encodedOctets.Span, AsnEncodingRules.BER, out int consumed);
115AsnEncodingRules.BER,
133if (!AsnDecoder.TryReadEncodedValue(source, AsnEncodingRules.BER, out _, out _, out _, out int consumed))
321AsnEncodingRules.BER,
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (15)
142AsnDecoder.ReadSequence(data.Span, AsnEncodingRules.BER, out _, out _, out int trimLength);
145PfxAsn pfxAsn = PfxAsn.Decode(data, AsnEncodingRules.BER);
190AsnValueReader outer = new AsnValueReader(authSafeContents, AsnEncodingRules.BER);
279AsnValueReader outer = new AsnValueReader(contentData.Span, AsnEncodingRules.BER);
297CertBagAsn certBag = CertBagAsn.Decode(bag.BagValue, AsnEncodingRules.BER);
344AsnEncodingRules.BER);
507EncryptedDataAsn.Decode(safeContentsAsn.Content, AsnEncodingRules.BER);
582AsnEncodingRules.BER);
588AsnEncodingRules.BER);
605AsnEncodingRules.BER);
837AsnEncodingRules.BER,
1007AsnEncodingRules.BER);
1117AsnValueReader reader = new AsnValueReader(decrypted, AsnEncodingRules.BER);
1145AsnValueReader reader = new AsnValueReader(decrypted, AsnEncodingRules.BER);
1206AsnWriter writer = new AsnWriter(AsnEncodingRules.BER);