The ES-X LONG signature is based on the ES-T signature. In addition to the ES-T signature, it includes the root and sub-root certificates of the certificate authority and the CRL and OCSP responses for signature verification. This enables the signature to be validated for a long period of time.
When signature validation is performed, this data is added to the signature file. It does not need to connect to any external system for signature validation and to obtain validation data; all data required for verification is accessed from the contents of the signature file. This format is the most recommended signature format owing to these features.
The following table specifies the signature properties that must be included in the signature file for CAdES-X LONG signature format:
Signature Properties | CAdES X-LONG | |
---|---|---|
Signed Attributes | Content-type | M |
Message-digest | M | |
ESS signing-certificate v2 | M | |
Signing-time | O | |
Content-hints | O | |
Mime-type | M | |
Content-reference | O | |
Content-identifier | O | |
Commitment-type-indication | O | |
Signer-location | O | |
Content-time-stamp | O | |
Signature-policy-identifier | O | |
Unsigned Attributes | CounterSignature | O |
Signature-time-stamp | M | |
Complete-certificate-references | M | |
Complete-revocation-references | M | |
Certificate-values | M | |
Revocation-values | M | |
CAdES-C-time-stamp | - | |
CAdES-C-time-stamped-certs-crls-references | - | |
Archive-time-stamp | - |
M: Must - It is mandatory to provide the specified substance. If the substance is not provided, the e-signature conformity assessment will result in a negative.
O: Optional – It is optional to provide the specified substance. If the substance is not provided, the e-signature conformity assessment will not result in a negative.
- : This means that the feature is not in the signature format.
It is recommended not to use it unless the optional features are required.
The timestamp received from the user's system clock or the owner of the signature application does not guarantee the accuracy of the signature time because it is not signed by a trusted server. For this reason, it is not recommended to use the signing time attribute. If it is used, it must be adjusted so that it is left behind from the timestamp.
You can access CAdES-X LONG Detached Test Package from here.
You can access CAdES-X LONG Attached Test Package from here.
You can access test root certificates from here.
The following table provides the names and properties of the signature files to be used in the procedures:
M/O | Signed Document Name | Signed Document Property | Validation Result | Explanation |
---|---|---|---|---|
M | ESXL_1 | Valid (Revocation check is available only via CRL and all signed attributes are added) | VALID | All signed attributes must be displayed in the validation result |
O | ESXL_2.doc | Signature file with a macro inserted content | INVALID | The signature should not be verified |
M | ESXL_3 | Contradictory signature file including “mime-type” attribute with “image/jpeg” value although the actual content type is “Application/pdf” | INVALID | Signature verification details must be shown. |
M | ESXL_4 | Signature file with a forged “ESS Signing-Certificate-v2” attribute | INVALID | Signature verification details must be shown. |
M | ESXL_5 | Signature file with a forged ”message-digest” attribute | INVALID | Signature verification details must be shown. |
M | ESXL_6 | Signature file in which SHA-1 digest algorithm is used | VALID | The signature must be archived. |
M | ESXL_7 | Signature file with a forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_8 | Valid (Revocation check is available only via OCSP) | VALID | |
M | ESXL_9 | Signature file signed by a certificate with an omitted “non-repudiation” field in the key usage extension | INVALID | Signature verification details must be shown. |
M | ESXL_10 | Signer certificate with an omitted “UserNotice” text field in the “CertificatePolicies” extension | INVALID | Signature verification details must be shown. |
M | ESXL_11 | Signer certificate with an omitted ETSI OID in “QualifiedCertificateStatements” extension | INVALID | Signature verification details must be shown. |
M | ESXL_12 | Signer certificate with an omitted ICTA OID in “QualifiedCertificateStatements” extension | INVALID | Signature verification details must be shown. |
O | ESXL_13 | Signature file which has a PDF/A-3 content with attachment | INVALID | The signature must not be verified. |
M | ESXL_14 | Signer certificate has expired before signature timestamp | INVALID | Signature verification details must be shown. |
M | ESXL_15 | Signer certificate has a forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_16_1 | Signature file signed by a revoked certificate before signature timestamp (Revocation check is available only via CRL) | INVALID | Signature verification details must be shown. |
M | ESXL_16_2 | Signer certificate has revoked after signature timestamp (Revocation check is available only via CRL) | VALID | |
M | ESXL_17_1 | Signer certificate has revoked in OCSP before signature timestamp (Revocation check is available only via OCSP) | INVALID | Signature verification details must be shown. |
M | ESXL_17_2 | Signer certificate revoked in OCSP after signature timestamp (Revocation check is available only via OCSP) | VALID | |
M | ESXL_18 | The validity of signer certificate has to be checked via an expired CRL | INVALID | Signature verification details must be shown. |
M | ESXL_19 | The validity of signer certificate has to be checked via a signature forged CRL | INVALID | Signature verification details must be shown. |
M | ESXL_20 | The validity of signer certificate has to be checked via an expired OCSP response | INVALID | Signature verification details must be shown. |
M | ESXL_21 | The validity of signer certificate has to be checked via an OCSP response having forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_22 | The validity of signer certificate has to be checked via an OCSP response which is signed by an expired OCSP certificate | INVALID | Signature verification details must be shown. |
M | ESXL_23 | The validity of signer certificate has to be checked via an OCSP response which is signed by a signature forged OCSP certificate | INVALID | Signature verification details must be shown. |
M | ESXL_24_1 | The validity of signer certificate has to be checked via an OCSP response which is signed by a revoked OCSP certificate.The OCSP certificate is revoked before signature timestamp | INVALID | Signature verification details must be shown. |
M | ESXL_24_2 | The validity of signer certificate has to be checked via an OCSP response which is signed by a revoked OCSP certificate. The OCSP certificate is revoked after signature timestamp | VALID | |
M | ESXL_25 | Signer certificate has a monetary limit which is equal to “0” | CHOICE* | |
O | ESXL_26 | Signer certificate has a usage restriction defined in “QC Statements” extension | INVALID | The signature should not be verified. |
M | ESXL_27 | The validity of signer certificate has to be checked via an OCSP response which is generated for a different certificate | INVALID | Signature verification details must be shown. |
M | ESXL_28 | Signer certificate is issued by an intermediate CA certificate having a forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_29_1 | Signer certificate is issued by an intermediate CA certificate which is revoked in CRL before signature timestamp | INVALID | Signature verification details must be shown. |
M | ESXL_29_2 | Signer certificate is issued by an intermediate CA certificate which is revoked in CRL after signature timestamp | VALID | |
M | ESXL_30 | Signer certificate is issued by an intermediate CA certificate whose validity has to be checked via an expired CRL | INVALID | Signature verification details must be shown. |
M | ESXL_31 | Signer certificate is issued by an intermediate CA certificate whose validity has to be checked via a forged signature CRL | INVALID | Signature verification details must be shown. |
M | ESXL_32_1 | Signer certificate is issued by an intermediate CA certificate which is revoked in OCSP before signature timestamp | INVALID | Signature verification details must be shown. |
M | ESXL_32_2 | Signer certificate is issued by an intermediate CA certificate which is revoked in OCSP after signature timestamp | VALID | |
M | ESXL_33 | Signer certificate is issued by an intermediate CA certificate whose validity has to be checked via an expired OCSP response | INVALID | Signature verification details must be shown. |
M | ESXL_34 | The validity of intermediate CA certificate has to be checked via an OCSP response which has a forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_35 | The validity of intermediate CA certificate has to be checked via an OCSP response which is signed by an expired OCSP certificate | INVALID | Signature verification details must be shown. |
M | ESXL_36 | The validity of intermediate CA certificate has to be checked via an OCSP response which is signed by a signature forged OCSP certificate | INVALID | Signature verification details must be shown. |
M | ESXL_37_1 | The validity of intermediate CA certificate has to be checked via an OCSP response which is signed by a revoked OCSP certificate. The OCSP certificate is revoked before signature timestamp | INVALID | Signature verification details must be shown. |
M | ESXL_37_2 | The validity of intermediate CA certificate has to be checked via an OCSP response which is signed by a revoked OCSP certificate. The OCSP certificate is revoked after signature timestamp | VALID | |
M | ESXL_38 | The root certificate has a forged signature | INVALID | Signature verification details must be shown. |
M | ESXL_39_s | Counter signature file signed by two signers. Second signer has a valid certificate, but the first signer is configured with the required intermediate CA certificate which is revoked | INVALID | Validation result of the each signer must be shown in a hierarchical order similar to the tree structure. Signature verification details must be shown. |
M | ESXL_39_p | Parallel signature file signed by two signers. Second signer has a valid certificate, but the first signer is configured with the required intermediate CA certificate which is revoked | INVALID | Each signature validation result must be shown in a hierarchical order similar to the tree structure. The details of the error should be reported to the user. |
M | ESXL_40 | Signature timestamp has a “TSTInfo” with a forged “messageImprint” field (TS server is TSA1) | INVALID | Signature verification details must be shown. |
M | ESXL_41 | Signature timestamp has a forged signature (TS server is TSA2) | INVALID | Signature verification details must be shown. |
M | ESXL_42 | Signature timestamp is signed by an expired certificate (TS server is TSA3) | INVALID | Signature verification details must be shown. |
M | ESXL_43 | Signature timestamp is signed by a certificate with a forged signature (TS server is TSA4) | INVALID | Signature verification details must be shown. |
M | ESXL_44 | Signature timestamp is signed by a revoked certificate. The TS certificate is revoked before signature timestamp (TS server is TSA5) | INVALID | Signature verification details must be shown. |
M | ESXL_45 | Signature timestamp is signed by a revoked certificate.The TS certificate is revoked after signature timestamp (TS server is TSA5) | VALID | |
M | ESXL_46 | Signature timestamp is signed by a certificate whose issuer certificate is forged (TS server is TSB) | INVALID | Signature verification details must be shown. |
M | ESXL_47 | Signature timestamp is signed by a valid certificate (TS server is TSC1) | VALID | |
M | ESXL_48 | Signature timestamp is signed by a certificate which references an expired CRL (TS server is TSC2) | INVALID | Signature verification details must be shown. |
M | ESXL_49 | Signature timestamp is signed by a certificate which references a CRL with a forged signature (TS server is TSC3) | INVALID | Signature verification details must be shown. |
M | ESXL_50 | Signature file with a ”Complete certificate references” attribute which does not have a root certificate reference | INVALID | Signature verification details must be shown. |
M | ESXL_51 | Signature file with a ”Complete certificate references” attribute which has a wrong root certificate reference | INVALID | Signature verification details must be shown. |
M | ESXL_52 | Signature file with a ”Complete certificate references” attribute which does not have an intermediate CA certificate reference | INVALID | Signature verification details must be shown. |
M | ESXL_53 | Signature file with a ”Complete certificate references” attribute which has a wrong intermediate CA certificate reference | INVALID | Signature verification details must be shown. |
M | ESXL_54 | Signature file with a ”Complete revocation references” attribute which does not have a CRL reference for intermediate CA | INVALID | Signature verification details must be shown. |
M | ESXL_55 | Signature file with a ”Complete revocation references” attribute which has a wrong CRL reference for intermediate CA | INVALID | Signature verification details must be shown. |
M | ESXL_56 | Signature file with a ”Complete revocation references” attribute which does not have a CRL reference for signer certificate | INVALID | Signature verification details must be shown. |
M | ESXL_57 | Signature file with a ”Complete revocation references” attribute which has a wrong CRL reference for signer certificate | INVALID | Signature verification details must be shown. |
M | ESXL_58 | Signature file with a ”Complete revocation references” attribute which does not have an OCSP Reference for intermediate CA | INVALID | Signature verification details must be shown. |
M | ESXL_59 | Signature file with a ”Complete revocation references” attribute which has a wrong OCSP Reference for intermediate CA | INVALID | Signature verification details must be shown. |
M | ESXL_60 | Signature file with a ”Complete revocation references” attribute which does not have an OCSP reference for signer certificate | INVALID | Signature verification details must be shown. |
M | ESXL_61 | Signature file with a ”Complete revocation references” attribute which has a wrong OCSP reference for signer certificate | INVALID | Signature verification details must be shown. |
M | ESXL_72 | Signature file with a ”Certificate Values” attribute which does not have a root certificate value | INVALID | Signature verification details must be shown. |
M | ESXL_74 | Signature file with a ”Certificate Values” attribute which does not have an intermediate CA certificate value | INVALID | Signature verification details must be shown. |
M | ESXL_76 | Signature file with a ”Revocation Values” attribute which does not have a CRL value for intermediate CA certificate | INVALID | Signature verification details must be shown. |
M | ESXL_78 | Signature file with a ”Revocation values” attribute which does not have a CRL for signer certificate | INVALID | Signature verification details must be shown. |
M | ESXL_80 | Signature file with a ”Revocation values” attribute which does not have an OCSP value for intermediate CA certificate | INVALID | Signature verification details must be shown. |
M | ESXL_82 | Signature file with ”Revocation values” attribute which does not have an OCSP value for signer certificate | INVALID | Signature verification details must be shown |
O | ESXL_110 | Signature file without a “mime-type” attribute | INVALID | The signature should not be verified. |
* One of the following methods must be selected when verifying the signed document if the signer certificate includes a monetary limit: