XdSignatureStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The XdSignatureRelation enumeration is used to determine how digital signatures can be added to a SignedDataBlockObject object.
public enum class XdSignatureStatus
[System.Runtime.InteropServices.Guid("E5E3A7C3-B69A-3E65-8019-1D8B1A5779CD")]
public enum XdSignatureStatus
type XdSignatureStatus =
Public Enum XdSignatureStatus
- Inheritance
-
XdSignatureStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
xdSignatureStatusError | 0 | |
xdSignatureStatusValid | 1 | |
xdSignatureStatusInvalid | 2 | |
xdSignatureStatusUnsupported | 3 |
Examples
public void DisplaySDBProperties()
{
SignedDataBlock sdb = thisXDocument.SignedDataBlocks[0];
string sigRelation = "UNKNOWN";
switch(sdb.SignatureRelation)
{
case <span class="label">XdSignatureRelation</span>.xdSignatureRelationSingle :
sigRelation = "SINGLE";
break;
case <span class="label">XdSignatureRelation</span>.xdSignatureRelationCoSign :
sigRelation = "COSIGN";
break;
case <span class="label">XdSignatureRelation</span>.xdSignatureRelationCounterSign :
sigRelation = "COUNTERSIGN";
break;
default:
break;
}
thisXDocument.UI.Alert("Signatures relation: " + sigRelation );
}
Remarks
These enumerated values are returned by the SignatureRelation property.