PackageDigitalSignatureManager(Package) Constructor

Definition

Initializes a new instance of the PackageDigitalSignatureManager class for use with a specified Package.

public:
 PackageDigitalSignatureManager(System::IO::Packaging::Package ^ package);
public PackageDigitalSignatureManager (System.IO.Packaging.Package package);
new System.IO.Packaging.PackageDigitalSignatureManager : System.IO.Packaging.Package -> System.IO.Packaging.PackageDigitalSignatureManager
Public Sub New (package As Package)

Parameters

package
Package

The package associated with this signature manager.

Examples

The following example shows how to use this constructor. For the complete sample, see Creating a Package with a Digital Signature Sample.

Remarks

The target package associated with the signature manager is set during initialization. After it is set, the package associated with the signature manager cannot be changed. Create a new signature manager for each package as needed.

Applies to

See also