Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PackageDigitalSignatureManager Members

Provides a utility class for the creation and verification of digital signatures in a Package.

The following tables list the members exposed by the PackageDigitalSignatureManager type.

  Name Description
Public method PackageDigitalSignatureManager Initializes a new instance of the PackageDigitalSignatureManager class for use with a specified Package.

  Name Description
Public property CertificateOption Gets or sets the X.509 certificate embedding option used by the Sign method to digitally sign package parts.
Public property Static DefaultHashAlgorithm Gets a URI string that identifies the default hash algorithm used to create and verify signatures.
Public property HashAlgorithm Gets or sets the URI identifier for the HashAlgorithm instance used to create and verify signatures.
Public property IsSigned Gets a value that indicates whether the package contains any signatures.
Public property ParentWindow Gets or sets a handle to the parent window for displaying a certificate selection dialog box.
Public property SignatureOrigin Gets the uniform resource identifier (URI) of the signature origin part.
Public property Static SignatureOriginRelationshipType Gets the type of default signature origin relationship.
Public property Signatures Gets a collection of all the signatures contained in the package.
Public property TimeFormat Gets or sets the date/time format used to create a signature SigningTime.
Public property TransformMapping Gets a dictionary that contains each defined ContentType and its associated XMLTransform.Algorithm identifier.

(see also Protected Methods )
  Name Description
Public method Countersign Overloaded. Countersigns signatures in the package with a specified X.509 certificate.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetSignature Returns the digital signature for a given signature uniform resource identifier (URI).
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RemoveAllSignatures Removes all digital signatures from the package.
Public method RemoveSignature Removes the digital signature with a given signature uniform resource identifier (URI).
Public method Sign Overloaded. Signs a list of package parts with a specified X.509 certificate.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static VerifyCertificate Verifies a given X.509 certificate.
Public method VerifySignatures Verifies the signatures on all signed parts within the package.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

  Name Description
Public event InvalidSignatureEvent Occurs when VerifySignatures encounters an invalid signature.

Community Additions

© 2015 Microsoft