1 write to _signatures
WindowsBase (1)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1275
_signatures
= new List<PackageDigitalSignature>();
31 references to _signatures
WindowsBase (31)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (31)
152
return (
_signatures
.Count > 0);
170
_signatureList = new ReadOnlyCollection<PackageDigitalSignature>(
_signatures
);
535
InternalRemoveSignature(newSignaturePartName,
_signatures
.Count);
547
InternalRemoveSignature(newSignaturePartName,
_signatures
.Count);
559
InternalRemoveSignature(newSignaturePartName,
_signatures
.Count);
565
_signatures
.Add(signature);
637
List<Uri> signatures = new List<Uri>(
_signatures
.Count);
638
for (int i = 0; i <
_signatures
.Count; i++)
640
signatures.Add(
_signatures
[i].SignaturePart.Uri);
692
if (
_signatures
.Count == 0)
699
for (int i = 0; i <
_signatures
.Count; i++)
701
VerifyResult temp =
_signatures
[i].Verify();
707
InvalidSignatureEvent(this, new SignatureVerificationEventArgs(
_signatures
[i], temp));
742
Debug.Assert(index <
_signatures
.Count);
747
InternalRemoveSignature(signatureUri,
_signatures
.Count - 1 /*since we are deleting one*/);
750
_signatures
[index].Invalidate();
754
_signatures
.RemoveAt(index); // ensure it is actually removed from the list
772
for (int i = 0; i <
_signatures
.Count; i++)
774
PackagePart p =
_signatures
[i].SignaturePart;
791
_signatures
[i].Invalidate();
799
_signatures
.Clear();
818
Debug.Assert(index <
_signatures
.Count);
819
return
_signatures
[index];
972
if (
_signatures
.Count == 0)
1229
for (int i = 0; i <
_signatures
.Count; i++)
1231
if (PackUriHelper.ComparePartUri(uri,
_signatures
[i].SignaturePart.Uri) == 0)
1246
for (int i = 0; i <
_signatures
.Count; i++)
1249
if (
_signatures
[i].GetCertificatePart() != null)
1252
if (PackUriHelper.ComparePartUri(certificatePartUri,
_signatures
[i].GetCertificatePart().Uri) == 0)
1273
if (
_signatures
== null)
1306
_signatures
.Add(signature);