Implemented interface member:
14 references to Count
NuGet.Packaging (3)
Signing\Cms\NativeUtility.cs (3)
163
if (cmsSigner.SignedAttributes.
Count
!= 0)
165
signerInfo.cAuthAttr = cmsSigner.SignedAttributes.
Count
;
171
var attributesArray = (CRYPT_ATTRIBUTE*)hb.Alloc(sizeOfCryptAttribute * cmsSigner.SignedAttributes.
Count
);
System.Security.Cryptography.Pkcs (11)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
80
if (unprotectedAttributes != null && unprotectedAttributes.
Count
> 0)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (1)
184
int numUnprotectedAttributes = unprotectedAttributes.
Count
;
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
41
if (attributes == null || attributes.
Count
== 0)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (3)
141
if (index > array.Length -
Count
)
144
for (int i = 0; i <
Count
; i++)
157
if (index > array.Length -
Count
)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
42
if (_current >= _attributes.
Count
- 1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
84
if (_attributes?.
Count
> 0)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
251
if (Attributes.
Count
> 0)
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
321
if (SignedAttributes?.
Count
> 0 || contentTypeOid != Oids.Pkcs7Data)
382
if (UnsignedAttributes != null && UnsignedAttributes.
Count
> 0)