Compartir a través de


XdSignatureStatus Enumeración

Definición

La enumeración XdSignatureRelation se usa para determinar cómo se pueden agregar firmas digitales a un SignedDataBlockObject objeto.

public enum class XdSignatureStatus
[System.Runtime.InteropServices.Guid("E5E3A7C3-B69A-3E65-8019-1D8B1A5779CD")]
public enum XdSignatureStatus
type XdSignatureStatus = 
Public Enum XdSignatureStatus
Herencia
XdSignatureStatus
Atributos

Campos

Nombre Valor Description
xdSignatureStatusError 0
xdSignatureStatusValid 1
xdSignatureStatusInvalid 2
xdSignatureStatusUnsupported 3

Ejemplos

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 );
}

Comentarios

La propiedad devuelve SignatureRelation estos valores enumerados.

Se aplica a