Επεξεργασία

Κοινή χρήση μέσω


XpsDigitalSignature Class

Definition

Represents a digital signature for an XpsDocument.

public ref class XpsDigitalSignature
public class XpsDigitalSignature
type XpsDigitalSignature = class
Public Class XpsDigitalSignature
Inheritance
XpsDigitalSignature

Remarks

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 XPS, see the XML Paper Specification (XPS).

Constructors

XpsDigitalSignature(PackageDigitalSignature, XpsDocument)

Initializes a new instance of the XpsDigitalSignature class.

Properties

DocumentPropertiesRestricted

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

Id

Gets the globally unique identifier (GUID) of the signature.

IsCertificateAvailable

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

SignatureOriginRestricted

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

SignatureType

Gets a URL string that identifies the signature type.

SignatureValue

Gets the encrypted hash value of the signature.

SignedDocumentSequence

Gets the document sequence reader for the signed document sequence.

SignerCertificate

Gets the X.509 certificate of the signer.

SigningTime

Gets the date and time when the signature was created.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Verify()

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

Verify(X509Certificate)

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

VerifyCertificate()

Verifies the X.509 certificate embedded in the package.

VerifyCertificate(X509Certificate)

Verifies the specified X.509 certificate.

Applies to

See also