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