XpsDigitalSignature Class

XpsDigitalSignature Class

 

Represents a digital signature for an XpsDocument.

Namespace:   System.Windows.Xps.Packaging
Assembly:  ReachFramework (in ReachFramework.dll)

System.Object
  System.Windows.Xps.Packaging.XpsDigitalSignature

public class XpsDigitalSignature

NameDescription
System_CAPS_pubmethodXpsDigitalSignature(PackageDigitalSignature, XpsDocument)

Initializes a new instance of the XpsDigitalSignature class.

NameDescription
System_CAPS_pubpropertyDocumentPropertiesRestricted

Gets a value that indicates whether changing the properties of the document invalidates the digital signature.

System_CAPS_pubpropertyId

Gets the GUID of the signature.

System_CAPS_pubpropertyIsCertificateAvailable

Gets a value that indicates whether the signer's X.509 certificate is contained in the document Package.

System_CAPS_pubpropertySignatureOriginRestricted

Gets a value that indicates whether the digital signature is invalidated if someone else signs the package.

System_CAPS_pubpropertySignatureType

Gets a URL string that identifies the signature type.

System_CAPS_pubpropertySignatureValue

Gets the encrypted hash value of the signature.

System_CAPS_pubpropertySignedDocumentSequence

Gets the document sequence reader for the signed document sequence.

System_CAPS_pubpropertySignerCertificate

Gets the X.509 certificate of the signer.

System_CAPS_pubpropertySigningTime

Gets the date and time when the signature was created.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerify()

Verifies the document digital signature against the X.509 certificate embedded in the XPS Package.

System_CAPS_pubmethodVerify(X509Certificate)

Verifies the document digital signature against a specified X.509 certificate.

System_CAPS_pubmethodVerifyCertificate()

Verifies the X.509 certificate embedded in the package.

System_CAPS_pubmethodSystem_CAPS_staticVerifyCertificate(X509Certificate)

Verifies the specified X.509 certificate.

Use XpsDigitalSignature instead of PackageDigitalSignature when you work with an XPS document.  PackageDigitalSignature is not XPS-aware, and does not guarantee that all parts in an XPS document are fully signed.

For more information about digital signatures, see the MSDN article Digital Signing Framework of the Open Packaging Conventions available at http://go.microsoft.com/fwlink/?LinkId=74494.

For more information about XPS see the XML Paper Specification (XPS) available for download at http://go.microsoft.com/fwlink/?LinkID=65761.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft