10 writes to UnsignedAttributes
System.Security.Cryptography.Pkcs (10)
System\Security\Cryptography\Pkcs\Asn1\SignerInfoAsn.xml.cs (1)
164
decoded.
UnsignedAttributes
= tmpList.ToArray();
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
286
newSignerInfo.
UnsignedAttributes
= PkcsHelpers.NormalizeAttributeSet(attrs.ToArray());
System\Security\Cryptography\Pkcs\SignerInfo.cs (8)
133
ref AttributeAsn[] unsignedAttrs = ref parentData.
UnsignedAttributes
!;
191
mySigner.
UnsignedAttributes
= new AttributeAsn[1];
196
Array.Resize(ref mySigner.
UnsignedAttributes
, newAttributeIdx + 1);
230
PkcsHelpers.RemoveAt(ref mySigner.
UnsignedAttributes
!, outerIndex);
313
mySigner.
UnsignedAttributes
= new AttributeAsn[1];
319
Array.Resize(ref mySigner.
UnsignedAttributes
, newExtensionIdx + 1);
395
myData.
UnsignedAttributes
= null;
399
PkcsHelpers.RemoveAt(ref myData.
UnsignedAttributes
, removeAttrIdx);
18 references to UnsignedAttributes
System.Security.Cryptography.Pkcs (18)
System\Security\Cryptography\Pkcs\Asn1\SignerInfoAsn.xml.cs (3)
60
if (
UnsignedAttributes
!= null)
64
for (int i = 0; i <
UnsignedAttributes
.Length; i++)
66
UnsignedAttributes
[i].Encode(writer);
System\Security\Cryptography\Pkcs\SignerInfo.cs (15)
46
_unsignedAttributes = parsedData.
UnsignedAttributes
;
128
if (parentData.
UnsignedAttributes
== null)
180
int existingAttribute = mySigner.
UnsignedAttributes
== null ? -1 : FindAttributeIndexByOid(mySigner.
UnsignedAttributes
, unsignedAttribute.Oid!);
188
if (mySigner.
UnsignedAttributes
== null)
195
newAttributeIdx = mySigner.
UnsignedAttributes
.Length;
199
mySigner.
UnsignedAttributes
[newAttributeIdx] = newUnsignedAttr;
204
ref AttributeAsn modifiedAttr = ref mySigner.
UnsignedAttributes
![existingAttribute];
221
(int outerIndex, int innerIndex) = FindAttributeLocation(mySigner.
UnsignedAttributes
, unsignedAttribute, out bool isOnlyValue);
234
PkcsHelpers.RemoveAt(ref mySigner.
UnsignedAttributes
![outerIndex].AttrValues, innerIndex);
311
if (mySigner.
UnsignedAttributes
== null)
318
newExtensionIdx = mySigner.
UnsignedAttributes
.Length;
322
mySigner.
UnsignedAttributes
[newExtensionIdx] = newUnsignedAttr;
351
if (myData.
UnsignedAttributes
== null)
361
AttributeAsn[] unsignedAttrs = myData.
UnsignedAttributes
;