2 instantiations of AttributeAsn
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
61attributes[i] = new AttributeAsn(Attributes[i]);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
200AttributeAsn attribute = new AttributeAsn
41 references to AttributeAsn
System.Security.Cryptography (41)
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (6)
53internal static AttributeAsn Decode(ReadOnlyMemory<byte> encoded, AsnEncodingRules ruleSet) 58internal static AttributeAsn Decode(Asn1Tag expectedTag, ReadOnlyMemory<byte> encoded, AsnEncodingRules ruleSet) 64DecodeCore(ref reader, expectedTag, encoded, out AttributeAsn decoded); 74internal static void Decode(ref AsnValueReader reader, ReadOnlyMemory<byte> rebind, out AttributeAsn decoded) 79internal static void Decode(ref AsnValueReader reader, Asn1Tag expectedTag, ReadOnlyMemory<byte> rebind, out AttributeAsn decoded) 91private static void DecodeCore(ref AsnValueReader reader, Asn1Tag expectedTag, ReadOnlyMemory<byte> rebind, out AttributeAsn decoded)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
17internal System.Security.Cryptography.Asn1.AttributeAsn[]? BagAttributes; 124var tmpList = new List<System.Security.Cryptography.Asn1.AttributeAsn>(); 125System.Security.Cryptography.Asn1.AttributeAsn tmpItem; 129System.Security.Cryptography.Asn1.AttributeAsn.Decode(ref collectionReader, rebind, out tmpItem);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (4)
17internal System.Security.Cryptography.Asn1.AttributeAsn[]? UnprotectedAttributes; 104var tmpList = new List<System.Security.Cryptography.Asn1.AttributeAsn>(); 105System.Security.Cryptography.Asn1.AttributeAsn tmpItem; 109System.Security.Cryptography.Asn1.AttributeAsn.Decode(ref collectionReader, rebind, out tmpItem);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (4)
18internal System.Security.Cryptography.Asn1.AttributeAsn[]? Attributes; 119var tmpList = new List<System.Security.Cryptography.Asn1.AttributeAsn>(); 120System.Security.Cryptography.Asn1.AttributeAsn tmpItem; 124System.Security.Cryptography.Asn1.AttributeAsn.Decode(ref collectionReader, rebind, out tmpItem);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (2)
493internal static AsnWriter WritePkcs8PrivateKey(ECParameters ecParameters, AttributeAsn[]? attributes = null) 511private static AsnWriter? WritePrivateKeyInfoAttributes(AttributeAsn[]? attributes)
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (4)
26private static readonly AttributeAsn? s_syntheticKspAttribute = 390private static void RejectDuplicateAttributes(AttributeAsn[] bagAttributes, HashSet<string> duplicateAttributeCheck) 394foreach (AttributeAsn attrSet in bagAttributes) 428AttributeAsn attr = bag.BagAttributes[i];
System\Security\Cryptography\X509Certificates\Asn1\CertificationRequestInfoAsn.xml.cs (4)
18internal System.Security.Cryptography.Asn1.AttributeAsn[] Attributes; 119var tmpList = new List<System.Security.Cryptography.Asn1.AttributeAsn>(); 120System.Security.Cryptography.Asn1.AttributeAsn tmpItem; 124System.Security.Cryptography.Asn1.AttributeAsn.Decode(ref collectionReader, rebind, out tmpItem);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
210foreach (AttributeAsn attr in requestInfo.Attributes)
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
58var attributes = new AttributeAsn[Attributes.Count];
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (7)
97AttributeAsn[] certAttrs = ArrayPool<AttributeAsn>.Shared.Rent(certCount); 162ArrayPool<AttributeAsn>.Shared.Return(certAttrs); 178AttributeAsn[] certAttrs, 200AttributeAsn attribute = new AttributeAsn 228AttributeAsn[] certAttrs, 319AttributeAsn[] certAttrs,
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (4)
319foreach (AttributeAsn attr in certBags[certBagIdx].BagAttributes ?? Array.Empty<AttributeAsn>()) 417foreach (AttributeAsn attr in keyBags[i].BagAttributes ?? Array.Empty<AttributeAsn>())