5 writes to AttrValues
System.Security.Cryptography (5)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
51AttrValues = new ReadOnlyMemory<byte>[attributeObject.Values.Count],
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
18AttrValues = new[] { new ReadOnlyMemory<byte>(attribute.RawData) };
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (1)
115decoded.AttrValues = tmpList.ToArray();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (2)
639AttrValues = new[] { new ReadOnlyMemory<byte>(writer.Encode()) } 651AttrValues = new[] { new ReadOnlyMemory<byte>(writer.Encode()) }
12 references to AttrValues
System.Security.Cryptography (12)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (2)
56newAttr.AttrValues[i] = attributeObject.Values[i].RawData; 277foreach (ReadOnlyMemory<byte> attrValue in attribute.AttrValues)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (2)
37for (int i = 0; i < AttrValues.Length; i++) 41writer.WriteEncodedValue(AttrValues[i].Span);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (7)
412if (attr.AttrValues?.Length > 0) 414for (int i = 0; i < attr.AttrValues.Length; i++) 416attr.AttrValues[i] = providerName.GetValueOrDefault().AttrValues[0]; 444if (!duplicateAttributeCheck.Add(attrSet.AttrType) || attrSet.AttrValues.Length > 1) 782if (attr.AttrType == Oids.MsPkcs12KeyProviderName && attr.AttrValues?.Length > 0) 784return HasCapiValue(attr.AttrValues[0].Span, out isRsa);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
2315if (attr.AttrValues is [ReadOnlyMemory<byte> attrValue])