Discuss this help topic in SecureBlackbox Forum

TSBXAdESValidityReason

Declared in     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Specifies validity or invalidity reasons for XAdES (XML Advanced Electronic Signatures).

Declaration

[C#/Java]
    TSBXAdESValidityReason = short;
        const short xvrInternalError = 0;
        const short xvrNotSigned = 1;
        const short xvrNoSigningCertificate = 2;
        const short xvrSigningCertificateNotSigned = 3;
        const short xvrSigningCertificateIncomplete = 4;
        const short xvrSigningCertificateInvalid = 5;
        const short xvrIndividualDataObjectsTimestampInvalid = 6;
        const short xvrIndividualDataObjectsTimestampIncomplete = 7;
        const short xvrAllDataObjectsTimestampInvalid = 8;
        const short xvrAllDataObjectsTimestampIncomplete = 9;
        const short xvrSignatureTimestampInvalid = 10;
        const short xvrSignatureTimestampIncomplete = 11;
        const short xvrRefsOnlyTimestampInvalid = 12;
        const short xvrRefsOnlyTimestampIncomplete = 13;
        const short xvrSigAndRefsTimestampInvalid = 14;
        const short xvrSigAndRefsTimestampIncomplete = 15;
        const short xvrArchiveTimestampInvalid = 16;
        const short xvrArchiveTimestampIncomplete = 17;
        const short xvrInconsistentSigningCertificate = 18;

[VB.NET]
    TSBXAdESValidityReason As Short
        Const xvrInternalError As Short = 0
        Const xvrNotSigned As Short = 1
        Const xvrNoSigningCertificate As Short = 2
        Const xvrSigningCertificateNotSigned As Short = 3
        Const xvrSigningCertificateIncomplete As Short = 4
        Const xvrSigningCertificateInvalid As Short = 5
        Const xvrIndividualDataObjectsTimestampInvalid As Short = 6
        Const xvrIndividualDataObjectsTimestampIncomplete As Short = 7
        Const xvrAllDataObjectsTimestampInvalid As Short = 8
        Const xvrAllDataObjectsTimestampIncomplete As Short = 9
        Const xvrSignatureTimestampInvalid As Short = 10
        Const xvrSignatureTimestampIncomplete As Short = 11
        Const xvrRefsOnlyTimestampInvalid As Short = 12
        Const xvrRefsOnlyTimestampIncomplete As Short = 13
        Const xvrSigAndRefsTimestampInvalid As Short = 14
        Const xvrSigAndRefsTimestampIncomplete As Short = 15
        Const xvrArchiveTimestampInvalid As Short = 16
        Const xvrArchiveTimestampIncomplete As Short = 17
        Const xvrInconsistentSigningCertificate As Short = 18

[Pascal]
    TSBXAdESValidityReason = (xvrInternalError, xvrNotSigned, xvrNoSigningCertificate, xvrSigningCertificateNotSigned, xvrSigningCertificateIncomplete, xvrSigningCertificateInvalid, xvrIndividualDataObjectsTimestampInvalid, xvrIndividualDataObjectsTimestampIncomplete, xvrAllDataObjectsTimestampInvalid, xvrAllDataObjectsTimestampIncomplete, xvrSignatureTimestampInvalid, xvrSignatureTimestampIncomplete, xvrRefsOnlyTimestampInvalid, xvrRefsOnlyTimestampIncomplete, xvrSigAndRefsTimestampInvalid, xvrSigAndRefsTimestampIncomplete, xvrArchiveTimestampInvalid, xvrArchiveTimestampIncomplete);

[C++]
    typedef uint8_t TSBXAdESValidityReasonRaw;
    typedef enum { xvrInternalError = 0, xvrNotSigned = 1, xvrNoSigningCertificate = 2, xvrSigningCertificateNotSigned = 3, xvrSigningCertificateIncomplete = 4, xvrSigningCertificateInvalid = 5, xvrIndividualDataObjectsTimestampInvalid = 6, xvrIndividualDataObjectsTimestampIncomplete = 7, xvrAllDataObjectsTimestampInvalid = 8, xvrAllDataObjectsTimestampIncomplete = 9, xvrSignatureTimestampInvalid = 10, xvrSignatureTimestampIncomplete = 11, xvrRefsOnlyTimestampInvalid = 12, xvrRefsOnlyTimestampIncomplete = 13, xvrSigAndRefsTimestampInvalid = 14, xvrSigAndRefsTimestampIncomplete = 15, xvrArchiveTimestampInvalid = 16, xvrArchiveTimestampIncomplete = 17, xvrInconsistentSigningCertificate = 18 } TSBXAdESValidityReason;
    
    typedef uint32_t TSBXAdESValidityReasonsRaw;
    typedef enum { f_xvrInternalError = 1, f_xvrNotSigned = 2, f_xvrNoSigningCertificate = 4, f_xvrSigningCertificateNotSigned = 8, f_xvrSigningCertificateIncomplete = 16, f_xvrSigningCertificateInvalid = 32, f_xvrIndividualDataObjectsTimestampInvalid = 64, f_xvrIndividualDataObjectsTimestampIncomplete = 128, f_xvrAllDataObjectsTimestampInvalid = 256, f_xvrAllDataObjectsTimestampIncomplete = 512, f_xvrSignatureTimestampInvalid = 1024, f_xvrSignatureTimestampIncomplete = 2048, f_xvrRefsOnlyTimestampInvalid = 4096, f_xvrRefsOnlyTimestampIncomplete = 8192, f_xvrSigAndRefsTimestampInvalid = 16384, f_xvrSigAndRefsTimestampIncomplete = 32768, f_xvrArchiveTimestampInvalid = 65536, f_xvrArchiveTimestampIncomplete = 131072, f_xvrInconsistentSigningCertificate = 262144 } TSBXAdESValidityReasons;

[PHP]
    class TSBXAdESValidityReason extends TSBBaseEnum {
        const xvrInternalError = 0;
        const xvrNotSigned = 1;
        const xvrNoSigningCertificate = 2;
        const xvrSigningCertificateNotSigned = 3;
        const xvrSigningCertificateIncomplete = 4;
        const xvrSigningCertificateInvalid = 5;
        const xvrIndividualDataObjectsTimestampInvalid = 6;
        const xvrIndividualDataObjectsTimestampIncomplete = 7;
        const xvrAllDataObjectsTimestampInvalid = 8;
        const xvrAllDataObjectsTimestampIncomplete = 9;
        const xvrSignatureTimestampInvalid = 10;
        const xvrSignatureTimestampIncomplete = 11;
        const xvrRefsOnlyTimestampInvalid = 12;
        const xvrRefsOnlyTimestampIncomplete = 13;
        const xvrSigAndRefsTimestampInvalid = 14;
        const xvrSigAndRefsTimestampIncomplete = 15;
        const xvrArchiveTimestampInvalid = 16;
        const xvrArchiveTimestampIncomplete = 17;
        const xvrInconsistentSigningCertificate = 18;
    }

Possible values


Declared in

.NET:
  • Namespace: SBXMLAdESIntf
  • Assembly: SecureBlackbox.XMLSecurity
VCL:
  • Unit: SBXMLAdESIntf
Java:
  • Package: SecureBlackbox.XMLSecurity.jar
C++:
  • sbxmladesintf.h

Discuss this help topic in SecureBlackbox Forum