9 instantiations of CryptographicAttributeObjectCollection
NuGet.Packaging (1)
Signing\Utility\SigningUtility.cs (1)
70var attributes = new CryptographicAttributeObjectCollection
System.Security.Cryptography.Pkcs (8)
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (2)
344return new CryptographicAttributeObjectCollection(); 475CryptographicAttributeObjectCollection collection = new CryptographicAttributeObjectCollection();
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
259var coll = new CryptographicAttributeObjectCollection();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
30_attributes ??= new CryptographicAttributeObjectCollection();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
42Attributes = new CryptographicAttributeObjectCollection();
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
40public CryptographicAttributeObjectCollection SignedAttributes { get; } = new CryptographicAttributeObjectCollection(); 41public CryptographicAttributeObjectCollection UnsignedAttributes { get; } = new CryptographicAttributeObjectCollection();
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (1)
37UnprotectedAttributes = new CryptographicAttributeObjectCollection();
44 references to CryptographicAttributeObjectCollection
NuGet.Packaging (12)
Signing\Signatures\Signature.cs (1)
393CryptographicAttributeObjectCollection unsignedAttributes = signer.UnsignedAttributes;
Signing\Utility\AttributeUtility.cs (6)
41public static SignatureType GetSignatureType(CryptographicAttributeObjectCollection signedAttributes) 112public static Uri GetNuGetV3ServiceIndexUrl(CryptographicAttributeObjectCollection signedAttributes) 181public static IReadOnlyList<string>? GetNuGetPackageOwners(CryptographicAttributeObjectCollection signedAttributes) 271internal static CryptographicAttributeObject? GetAttributeOrDefault(this CryptographicAttributeObjectCollection attributes, string oid) 317public static CryptographicAttributeObject? GetAttribute(this CryptographicAttributeObjectCollection attributes, string oid) 353public static IEnumerable<CryptographicAttributeObject> GetAttributes(this CryptographicAttributeObjectCollection attributes, string oid)
Signing\Utility\SigningUtility.cs (5)
56public static CryptographicAttributeObjectCollection CreateSignedAttributes( 70var attributes = new CryptographicAttributeObjectCollection 86public static CryptographicAttributeObjectCollection CreateSignedAttributes( 100var attributes = CreateSignedAttributes((SignPackageRequest)request, chainList); 147CryptographicAttributeObjectCollection attributes;
System.Security (1)
System.Security.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicAttributeObjectCollection))]
System.Security.Cryptography.Pkcs (31)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
25out CryptographicAttributeObjectCollection unprotectedAttributes)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
24CryptographicAttributeObjectCollection unprotectedAttributes) 59CryptographicAttributeObjectCollection unprotectedAttributes,
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decode.cs (1)
25out CryptographicAttributeObjectCollection unprotectedAttributes
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (4)
335public static CryptographicAttributeObjectCollection GetUnprotectedAttributes(this SafeCryptMsgHandle hCryptMsg) 473private static unsafe CryptographicAttributeObjectCollection ToCryptographicAttributeObjectCollection(CRYPT_ATTRIBUTES* pCryptAttributes) 475CryptographicAttributeObjectCollection collection = new CryptographicAttributeObjectCollection(); 484private static unsafe void AddCryptAttribute(CryptographicAttributeObjectCollection collection, CRYPT_ATTRIBUTE* pCryptAttribute)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
24public sealed override DecryptorPal Decode(ReadOnlySpan<byte> encodedMessage, out int version, out ContentInfo contentInfo, out AlgorithmIdentifier contentEncryptionAlgorithm, out X509Certificate2Collection originatorCerts, out CryptographicAttributeObjectCollection unprotectedAttributes)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (3)
19public sealed override unsafe byte[] Encrypt(CmsRecipientCollection recipients, ContentInfo contentInfo, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes) 106public static SafeCryptMsgHandle CreateCryptMsgHandleToEncode(CmsRecipientCollection recipients, Oid innerContentType, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes) 136private static unsafe CMSG_ENVELOPED_ENCODE_INFO* CreateCmsEnvelopedEncodeInfo(CmsRecipientCollection recipients, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes, HeapBlockRetainer hb)
Internal\Cryptography\PkcsPal.cs (2)
27public abstract byte[] Encrypt(CmsRecipientCollection recipients, ContentInfo contentInfo, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes); 34public abstract DecryptorPal Decode(ReadOnlySpan<byte> encodedMessage, out int version, out ContentInfo contentInfo, out AlgorithmIdentifier contentEncryptionAlgorithm, out X509Certificate2Collection originatorCerts, out CryptographicAttributeObjectCollection unprotectedAttributes);
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (3)
37internal static List<AttributeAsn> BuildAttributes(CryptographicAttributeObjectCollection? attributes) 257internal static CryptographicAttributeObjectCollection MakeAttributeCollection(AttributeAsn[]? attributes) 259var coll = new CryptographicAttributeObjectCollection();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (2)
18internal CryptographicAttributeObjectEnumerator(CryptographicAttributeObjectCollection attributes) 53private readonly CryptographicAttributeObjectCollection _attributes;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (2)
22private CryptographicAttributeObjectCollection? _attributes; 26public CryptographicAttributeObjectCollection Attributes
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (2)
22public CryptographicAttributeObjectCollection Attributes { get; } 49CryptographicAttributeObjectCollection attributes)
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
40public CryptographicAttributeObjectCollection SignedAttributes { get; } = new CryptographicAttributeObjectCollection(); 41public CryptographicAttributeObjectCollection UnsignedAttributes { get; } = new CryptographicAttributeObjectCollection();
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (2)
52public CryptographicAttributeObjectCollection UnprotectedAttributes { get; private set; } 156CryptographicAttributeObjectCollection unprotectedAttributes;
System\Security\Cryptography\Pkcs\SignerInfo.cs (4)
35private CryptographicAttributeObjectCollection? _parsedSignedAttrs; 36private CryptographicAttributeObjectCollection? _parsedUnsignedAttrs; 62public CryptographicAttributeObjectCollection SignedAttributes => 65public CryptographicAttributeObjectCollection UnsignedAttributes =>