XpsDigitalSignature XpsDigitalSignature XpsDigitalSignature XpsDigitalSignature Class

Definition

Represents a digital signature for an XpsDocument.

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

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 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.

Constructors

XpsDigitalSignature(PackageDigitalSignature, XpsDocument) XpsDigitalSignature(PackageDigitalSignature, XpsDocument) XpsDigitalSignature(PackageDigitalSignature, XpsDocument) XpsDigitalSignature(PackageDigitalSignature, XpsDocument)

Initializes a new instance of the XpsDigitalSignature class.

Properties

DocumentPropertiesRestricted DocumentPropertiesRestricted DocumentPropertiesRestricted DocumentPropertiesRestricted

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

Id Id Id Id

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

IsCertificateAvailable IsCertificateAvailable IsCertificateAvailable IsCertificateAvailable

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

SignatureOriginRestricted SignatureOriginRestricted SignatureOriginRestricted SignatureOriginRestricted

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

SignatureType SignatureType SignatureType SignatureType

Gets a URL string that identifies the signature type.

SignatureValue SignatureValue SignatureValue SignatureValue

Gets the encrypted hash value of the signature.

SignedDocumentSequence SignedDocumentSequence SignedDocumentSequence SignedDocumentSequence

Gets the document sequence reader for the signed document sequence.

SignerCertificate SignerCertificate SignerCertificate SignerCertificate

Gets the X.509 certificate of the signer.

SigningTime SigningTime SigningTime SigningTime

Gets the date and time when the signature was created.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Verify() Verify() Verify() Verify()

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

Verify(X509Certificate) Verify(X509Certificate) Verify(X509Certificate) Verify(X509Certificate)

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

VerifyCertificate() VerifyCertificate() VerifyCertificate() VerifyCertificate()

Verifies the X.509 certificate embedded in the package.

VerifyCertificate(X509Certificate) VerifyCertificate(X509Certificate) VerifyCertificate(X509Certificate) VerifyCertificate(X509Certificate)

Verifies the specified X.509 certificate.

Applies to

See also