1 write to _container
WindowsBase (1)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
350
_container
= package;
27 references to _container
WindowsBase (27)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (27)
490
if (
_container
.PartExists(newSignaturePartName))
499
_container
.Flush(); // ensure the origin relationship part is persisted so that any signature will include this newest relationship
521
newSignaturePart =
_container
.CreatePart(newSignaturePartName, XmlDigitalSignatureProcessor.ContentType.ToString());
536
_container
.Flush(); // actually persist the revert
548
_container
.Flush(); // actually persist the revert
560
_container
.Flush(); // actually persist the revert
576
CertificatePart certPart = new CertificatePart(
_container
, certificatePartName);
585
_container
.Flush();
672
PackagePart part =
_container
.GetPart(uri);
784
_container
.DeletePart(PackUriHelper.ResolvePartUri(r.SourceUri, r.TargetUri)); // will not throw if part not found
788
_container
.DeletePart(p.Uri);
873
return
_container
;
969
if (!
_container
.PartExists(partUri))
1096
SafeVisitRelationships(
_container
.GetPart(signatureUri).GetRelationshipsByType(CertificatePart.RelationshipType),
1100
_container
.DeletePart(signatureUri);
1148
_container
.DeletePart(certificatePartName); // will not throw if part not found
1174
_container
.DeleteRelationship(r.Id);
1207
SafeVisitRelationships(
_container
.GetRelationshipsByType(_originRelationshipType),
1210
_container
.DeletePart(_originPartName);
1293
if (!
_container
.PartExists(signaturePartName))
1296
PackagePart signaturePart =
_container
.GetPart(signaturePartName);
1326
PackageRelationshipCollection containerRelationships =
_container
.GetRelationshipsByType(_originRelationshipType);
1337
if (!
_container
.PartExists(targetUri))
1340
PackagePart p =
_container
.GetPart(targetUri);
1373
return (
_container
.FileOpenAccess == FileAccess.Read);
1386
_originPart =
_container
.CreatePart(_originPartName, _originPartContentType.ToString());
1387
_container
.CreateRelationship(_originPartName, TargetMode.Internal, _originRelationshipType);