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 = int;
        const int xvrInternalError = 1;
        const int xvrNotSigned = 2;
        const int xvrNoSigningCertificate = 4;
        const int xvrSigningCertificateNotSigned = 8;
        const int xvrSigningCertificateIncomplete = 0x10;
        const int xvrSigningCertificateInvalid = 0x20;
        const int xvrIndividualDataObjectsTimestampInvalid = 0x10000;
        const int xvrIndividualDataObjectsTimestampIncomplete = 0x20000;
        const int xvrAllDataObjectsTimestampInvalid = 0x40000;
        const int xvrAllDataObjectsTimestampIncomplete = 0x80000;
        const int xvrSignatureTimestampInvalid = 0x100000;
        const int xvrSignatureTimestampIncomplete = 0x200000;
        const int xvrRefsOnlyTimestampInvalid = 0x400000;
        const int xvrRefsOnlyTimestampIncomplete = 0x800000;
        const int xvrSigAndRefsTimestampInvalid = 0x1000000;
        const int xvrSigAndRefsTimestampIncomplete = 0x2000000;
        const int xvrArchiveTimestampInvalid = 0x4000000;
        const int xvrArchiveTimestampIncomplete = 0x8000000;

[VB.NET]
    TSBXAdESValidityReason As Integer
        Const xvrInternalError As Integer = 1
        Const xvrNotSigned As Integer = 2
        Const xvrNoSigningCertificate As Integer = 4
        Const xvrSigningCertificateNotSigned As Integer = 8
        Const xvrSigningCertificateIncomplete As Integer = &H10
        Const xvrSigningCertificateInvalid As Integer = &H20
        Const xvrIndividualDataObjectsTimestampInvalid As Integer = &H10000
        Const xvrIndividualDataObjectsTimestampIncomplete As Integer = &H20000
        Const xvrAllDataObjectsTimestampInvalid As Integer = &H40000
        Const xvrAllDataObjectsTimestampIncomplete As Integer = &H80000
        Const xvrSignatureTimestampInvalid As Integer = &H100000
        Const xvrSignatureTimestampIncomplete As Integer = &H200000
        Const xvrRefsOnlyTimestampInvalid As Integer = &H400000
        Const xvrRefsOnlyTimestampIncomplete As Integer = &H800000
        Const xvrSigAndRefsTimestampInvalid As Integer = &H1000000
        Const xvrSigAndRefsTimestampIncomplete As Integer = &H2000000
        Const xvrArchiveTimestampInvalid As Integer = &H4000000
        Const xvrArchiveTimestampIncomplete As Integer = &H8000000

[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