{
  "classification": "VERIFIED",
  "profile": "http://id.elegnamnden.se/csig/1.1/dss-ext/profile",
  "profile_version": "1.7",
  "extension_version": "1.6",
  "dss_namespace": "urn:oasis:names:tc:dss:1.0:core:schema",
  "extension_namespace": "http://id.elegnamnden.se/csig/1.1/dss-ext/ns",
  "schema_root": "../modules/protocol-dss/src/main/resources/dss-schema/",
  "extension_schema": "EidCentralSigDssExt-1.1.4.xsd",
  "core_schema": "oasis-dss-core-schema-v1.0-os.xsd",
  "source_manifest": "../docs/90-reference/dss/manifest.json",
  "binding": "POST/XML/1.0",
  "request_id_pattern": "[A-Za-z0-9][A-Za-z0-9._:-]{19,95}",
  "limits": {
    "encoded_form_bytes": 131072,
    "decoded_xml_bytes": 65536,
    "xml_nodes": 4096,
    "xml_depth": 32,
    "tasks": 8,
    "task_decoded_bytes": 8192,
    "message_utf8_bytes": 2048,
    "markdown_nodes": 256,
    "markdown_depth": 32,
    "request_lifetime_seconds": 180,
    "pending_per_connection": 64
  },
  "message_formats": [
    "text",
    "text/markdown"
  ],
  "task_types": [
    "XML",
    "PDF",
    "CMS"
  ],
  "signature_algorithm": "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",
  "digest_algorithm": "http://www.w3.org/2001/04/xmlenc#sha256",
  "canonicalization_algorithm": "http://www.w3.org/2001/10/xml-exc-c14n#",
  "result_major_prefix": "urn:oasis:names:tc:dss:1.0:resultmajor:",
  "result_minors": {
    "unsupported": "urn:oasis:names:tc:dss:1.0:resultminor:NotSupported",
    "request_expired": "http://id.elegnamnden.se/sig-status/1.0/req-expired",
    "cancelled": "http://id.elegnamnden.se/sig-status/1.0/user-cancel",
    "signer_mismatch": "http://id.elegnamnden.se/sig-status/1.0/user-mismatch",
    "message_invalid": "http://id.elegnamnden.se/sig-status/1.0/sigmessage-error",
    "authentication_failed": "http://id.swedenconnect.se/sig-status/1.1/authn-failed",
    "security_violation": "http://id.swedenconnect.se/sig-status/1.1/security-violation"
  },
  "unsupported_capabilities": [
    "transaction status HTTP API",
    "server-to-server result notifications",
    "retry or exactly-once delivery guarantee",
    "remote cancellation API",
    "resume pending browser ceremony after service restart",
    "HTML messages",
    "automatic timestamp/LT/LTA augmentation inside the private document-signing endpoint"
  ],
  "limit_scope": "Encoded form and decoded XML bounds describe service inbound parsing. Consumers define their own response limits; local fixture consumers cap form/XML at 131072/65536 bytes.",
  "sign_message_display": {
    "configuration": "policies[].sign_message_display",
    "default": "idp",
    "choices": [
      "idp",
      "signing_service"
    ],
    "idp": {
      "DisplayEntity": "absent or configured IdP entity ID",
      "idp_digest": "mandatory and exact"
    },
    "signing_service": {
      "DisplayEntity": "required configured service SP entity ID",
      "idp_digest": "absence permitted; supplied digest must match",
      "consent": "one-shot service message display/approval before IdP handoff, combined with subsequent fresh verified authentication",
      "forwarded_sign_message": false
    },
    "automatic_fallback": false
  },
  "task_profiles": {
    "XML": {
      "to_be_signed_bytes": "Canonical XML SignedInfo",
      "processing_rules_presence": "forbidden",
      "scope": "Legacy generic XML only: AdESType omitted or None; see xades for the explicitly selected XML/BES subprofile",
      "xades": {
        "classification": "Detached XAdES consumer B-B/B-T/B-LT/B-LTA lifecycle with preknown static signing-leaf binding",
        "selection": {
          "sig_type": "XML",
          "ades_type": "BES",
          "processing_rules": "urn:se:idombud:signing:xades:detached-b-b-sha256-rsa:v1"
        },
        "processing_rules_presence": "required",
        "processing_rules": "urn:se:idombud:signing:xades:detached-b-b-sha256-rsa:v1",
        "profile": "detached XAdES-B-B signing binding; consumer-only B-T/B-LT/B-LTA augmentation",
        "enveloped": false,
        "original_file_transfer": false,
        "to_be_signed_bytes": "Base64 exact exclusive-canonical SignedInfo; immutable after exact-input consent",
        "ades_object": "SignatureId and Base64 complete ds:Object; immutable SignedProperties and Object",
        "limits": {
          "signed_info_bytes": 8192,
          "object_bytes": 8192,
          "id_characters": 96,
          "original_uri_characters": 255,
          "mime_type_characters": 127,
          "rsa_minimum_bits": 2048
        },
        "original_reference": {
          "count": 1,
          "uri": "bounded opaque urn:NID:NSS; never dereferenced",
          "digest": "SHA-256 of exact consumer-owned original octets",
          "transforms": []
        },
        "signed_properties_reference": {
          "count": 1,
          "uri": "#SignedProperties-Id",
          "type": "http://uri.etsi.org/01903#SignedProperties",
          "digest": "SHA-256",
          "transforms": [
            "http://www.w3.org/2001/10/xml-exc-c14n#"
          ]
        },
        "certificate_binding": "SigningCertificateV2: SHA-256 of complete actual signing-leaf DER from trusted static credential configuration; checked before transaction and private signing and against returned certificate",
        "signing_time": "Untrusted caller UTC claim, not future; actual leaf validity must cover claim and current operation time; not a trusted timestamp",
        "data_object_format": "One DataObjectFormat targets original Reference Id; one bounded parameter-free MimeType; accuracy is consumer responsibility",
        "dynamic_issuance": "Rejected before identification/issuance/signing; fresh unknown certificate DER cannot replace immutable consented input",
        "response": "Echo ordered task ID, XML/BES, exact ProcessingRules, SignedInfo and complete AdESObject; raw Base64Signature rsa-sha256 and public SignatureCertificateChain",
        "consumer_responsibility": "Verify signed response/session/signer/credential, unseen original reference, SignMessage association, configured certificate trust, exact prepared bytes, final canonicalization context and independent EU DSS profile validation",
        "source_manifest": "../docs/90-reference/xades/manifest.json",
        "consumer_guide": "../docs/70-integration/XADES.md",
        "independent_verifier": "../testkit/xades-verifier/README.md",
        "consumer_augmentation": {
          "levels": [
            "B-B",
            "B-T",
            "B-LT",
            "B-LTA"
          ],
          "selection": "Consumer chooses required completed level; no HTTP endpoint, wire field or requester minimum/maximum Baseline level; existing XML/BES/rule selection unchanged",
          "server_input": "Unsigned properties remain forbidden in frozen SignedInfo/Object submitted for original signing; augmentation only after verified result, outside signing server",
          "unsigned_parent": "One QualifyingProperties/UnsignedProperties/UnsignedSignatureProperties; all unsigned properties share this parent",
          "signature_timestamp": {
            "namespace": "http://uri.etsi.org/01903/v1.3.2#",
            "element": "SignatureTimeStamp",
            "count": 1,
            "coverage": "Canonical complete ds:SignatureValue element including markup/context, not raw RSA bytes or bare Base64",
            "canonicalization": "http://www.w3.org/2001/10/xml-exc-c14n#",
            "token": "Exactly one canonical Base64 EncapsulatedTimeStamp; RFC3161/RFC5816, SHA-256; validate imprint/signature/certificate/path/policy/nonce/time and exact response correlation",
            "signer_validity": "Initial B-T token precedes signer expiry/revocation and consumer conservatively requires current signer at use; later history uses independently validated POE"
          },
          "validation_data": {
            "namespace": "http://uri.etsi.org/01903/v1.4.1#",
            "element": "AnyValidationData",
            "children": "v1.3.2 CertificateValues and/or RevocationValues containing complete CRLs only; at least one nonempty collection",
            "uri": "forbidden",
            "scope": "All signature-supporting signer/TSA evidence per EN319132-1 5.4.6/6.3cc; no top-level TSA-only CertificateValues",
            "duplicates": "Do not re-add known identical embedded values; reject conflicts/unrelated material",
            "trust": "Independently configured roots, never embedded-anchor promotion; bounded administrator-controlled retrieval; no caller URLs, runtime dereferencing, OCSP, delta/indirect CRLs",
            "adjacency": "Adjacent blocks allowed for fresh initial-archive and renewal support material; aggregate bounds apply across all blocks"
          },
          "archive_timestamp": {
            "namespace": "http://uri.etsi.org/01903/v1.4.1#",
            "element": "ArchiveTimeStamp",
            "count_maximum": 8,
            "canonicalization": "http://www.w3.org/2001/10/xml-exc-c14n#",
            "coverage_order": [
              "Exact original and transformed SignedProperties octets in SignedInfo reference order",
              "Canonical SignedInfo",
              "Canonical SignatureValue",
              "Canonical KeyInfo",
              "Each prior unsigned property canonicalized individually in document order"
            ],
            "coverage_excludes": "New archive element; no separators, Manifest, RenewedDigestsV2 or fetched content",
            "renewal": "Validate complete prior LT/LTA history under trusted proof-of-existence time, incorporate missing supporting evidence, append archive; preserve exact signed and preceding unsigned canonical bytes/context; no original signing key operation",
            "completion": "Complete LTA ends with ArchiveTimeStamp, not trailing unprotected validation data"
          },
          "bounds": {
            "original_bytes": 16777216,
            "signature_xml_bytes": 8388608,
            "xml_depth": 32,
            "xml_nodes": 8192,
            "pre_dom_guard": true,
            "token_bytes": 65536,
            "certificate_values": 32,
            "certificate_bytes_each": 32768,
            "crl_values": 32,
            "crl_bytes_each": 262144,
            "trusted_roots": 4,
            "configured_chain_certificates": 4,
            "draft_seconds_default_and_maximum": 300,
            "validator_receipt_seconds": 30,
            "validator_timeout_seconds": 45,
            "raw_signature_bytes": 32768,
            "raw_signature_length": "Exact actual RSA modulus byte length; existing minimum2048bits, no added RSA4096maximum",
            "unsigned_properties": 18
          },
          "state_and_correlation": "Finite preparation/archive state shortened by certificate/status validity; bind exact covered bytes and request/derived transaction/requester/profile/provider/kind/imprint/policy/nonce/chain/time",
          "failure": "Reject malformed XML, DTD/entities/XInclude, comments/PIs, ID/Target/wrapping/namespace/context substitutions, unsupported attributes/properties/transforms, missing/stale/revoked/forged/wrong-issuer/inconsistent evidence, wrong token/order/expiry, unknown/interrupted outcomes; prior artifact unchanged; consumed request IDs remain consumed across restart; no silent downgrade, automatic retry or re-signing",
          "verification": "Separate pinned EU DSS6.5.1; four-argument historical synthetic-leaf B-B, six-argument B-T with explicit dedicated TSA-leaf trust (not production PKIX), seven/eight-argument explicit CA roots-only mandatory LT/LTA; TOTAL_PASSED and exact requested level, structure/exact leaf/full history; offline network retrieval disabled",
          "retention": "Consumer retains exact original, signatures, previous unsigned values, tokens/chains/CRLs, configured trust and raw reports; assigns monitoring/renewal schedule before evidence protection becomes insufficient; no hosted archive",
          "source_manifest": "../docs/90-reference/xades/manifest.json",
          "qualification": "/products/signing-server/next/integration/xades/"
        }
      }
    },
    "PDF": {
      "to_be_signed_bytes": "Generic PDF uses bounded non-AdES DER CMS SignedAttrs; explicitly selected PAdES uses the closed PAdES signed-attribute contract.",
      "processing_rules_presence": "Forbidden for generic PDF; mandatory exact PAdES rule with AdESType BES for selected PAdES.",
      "pades": {
        "classification": "DECIDED bounded PAdES consumer/server contract; delivery evidence is retained in canonical repository records.",
        "ad_es_type": "BES",
        "processing_rules": "urn:se:idombud:signing:pades:baseline-b-sha256-rsa:v1",
        "prepared_input": "Canonical DER universal SET OF exactly contentType id-data, SHA256 messageDigest and SigningCertificateV2 with one ESSCertIDv2, omitted default SHA256 algorithm, exact actual leaf DER hash, no issuerSerial or policies",
        "prohibited_attributes": [
          "signingTime",
          "cmsAlgorithmProtect",
          "unknown or duplicate attributes"
        ],
        "certificate_binding": "Actual preknown RSA2048..4096 leaf, checked at parse, before signing and against delivered chain; certificate valid at operation time. No rewrite after consent. Dynamic fresh issuance is not selected by this binding.",
        "response": "Preserve PDF/BES, exact processing rule, task ID and immutable signed attributes; return raw RSA-SHA256 signature and actual public chain.",
        "consumer_responsibilities": "Keep original PDF; apply bounded syntax preflight before preparation and acceptance, rejecting duplicate decoded dictionary keys and malformed dictionary/array/reference/number/string/name syntax in current and signed historical revisions, including object streams; set ETSI.CAdES.detached, M claimed UTC time and full-file ByteRange excluding only Contents; assemble complete CMS/PDF and independently validate desired level. TSA/LT/LTA augmentation remains outside private document signing.",
        "source_baseline": "../docs/90-reference/pades/BASELINE.md",
        "binding_version": "Sweden Connect implementation profile 1.7 / extension 1.6 (October 2026) only; legacy profile rejects this selection",
        "dynamic_issuance": "Rejected before identification/issuance/private signing when the actual preknown leaf is unavailable; never rewrite certificate-bound approved bytes.",
        "baseline_levels": [
          "B-B",
          "B-T",
          "B-LT",
          "B-LTA"
        ],
        "baseline_level_scope": "Consumer composition and augmentation levels. The private signing request has no separate level selector.",
        "consumer_pdf_preflight": {
          "classification": "DECIDED bounded consumer/verifier processing policy.",
          "decoded_names": "Equal/conflicting duplicate keys and escaped-name aliases reject before normalization; dictionary/array/reference/number/string/name syntax is parsed without lexical recovery. Ordinary strings/comments/content-stream data are not interpreted as dictionary syntax.",
          "history": "Resolve current xref objects and deduplicated exact signed revision prefixes; object-stream dictionaries are checked.",
          "verifier_input": "One bounded PDF byte snapshot supplies syntax preflight, EU DSS and signature-count checks.",
          "limits": {
            "pdf_bytes": 33554432,
            "xref_objects_per_revision": 100000,
            "unique_keys_per_dictionary": 100000,
            "direct_object_depth": 100,
            "dictionary_depth": 100,
            "literal_string_depth": 100,
            "direct_object_parse_steps_per_load": 1000000,
            "declared_objects_per_object_stream": 100000,
            "raw_structural_stream_bytes": 33554432,
            "intermediate_decode_stage_output_bytes": 33554432,
            "object_stream_decoded_bytes": 33554432,
            "xref_entries": 100000,
            "xref_field_width_bytes": 8,
            "predictor_row_bytes": 1048576,
            "predictor_colors": 32,
            "aggregate_decode_output_bytes_per_load": 67108864,
            "filters_per_structural_stream": 16,
            "distinct_prefix_lengths_including_current": 66,
            "aggregate_declared_xref_entries_per_load": 100000,
            "classic_xref_line_characters": 64
          },
          "structural_stream_policy": {
            "filters": [
              "FlateDecode",
              "Fl",
              "LZWDecode",
              "LZW",
              "ASCIIHexDecode",
              "AHx",
              "ASCII85Decode",
              "A85",
              "RunLengthDecode",
              "RL"
            ],
            "predictors": [
              1,
              2,
              10,
              11,
              12,
              13,
              14,
              15
            ],
            "predictor_bits_per_component": [
              1,
              2,
              4,
              8,
              16
            ],
            "lzw_early_change": [
              0,
              1
            ],
            "xref_output": "Exactly declared entry count times sum of three field widths; widths 0..8, nonzero sum. Checked before PDFBox decoded view creation.",
            "numeric_values": "Signed 64-bit integers; PDF decimal real notation within finite float range.",
            "classic_xref": "Validate subsection counts and rows before map population; aggregate declared classic/stream entries across sections, previous xrefs and signed prefixes, including free/superseded entries.",
            "structural_integers": "Stream Length, object-stream N/First and four ByteRange entries require exact bounded PDF integers before conversion. Valid indirect Length remains supported; object headers require unique IDs and increasing in-range offsets with exact object spans."
          },
          "limit_scope": "Aggregate decoding includes intermediate filter output and unfiltered object/xref-stream bytes across streams/history. Enabled predictors require positive columns and at most 1 MiB per row; dimensions and codec allowlist are checked before filter invocation. Initial original preparation remains capped at 16 MiB. These are consumer limits, not server request fields."
        },
        "consumer_guide": "../docs/70-integration/PADES.md",
        "independent_verifier": "../testkit/pades-verifier/README.md",
        "public_preparation_fragment": "examples/support-service/pades-b-b-task.fragment.xml",
        "augmentation": {
          "B-T": "Validated RFC3161/RFC5816 token over the raw document signature is embedded as a CMS signature timestamp by the consumer.",
          "B-LT": "Consumer embeds required signer/issuer/TSA certificates and relevant status evidence in the PDF DSS. The selected example uses bounded complete SHA256-RSA CRLs, not OCSP fetching or delta/indirect CRLs.",
          "B-LTA": "Consumer validates protected history offline under independently configured CA roots, appends current renewing-TSA evidence and a document timestamp, preserves earlier revisions and validates the completed PDF. Renew before existing protection becomes insufficient; no original document private operation or hosted archive is introduced."
        }
      }
    },
    "CMS": {
      "to_be_signed_bytes": "Bounded DER SET OF CMS signed attributes, universal tag 0x31",
      "processing_rules_presence": "required",
      "processing_rules": "urn:se:idombud:signing:cms:detached-sha256-rsa:v1",
      "content_type_oid": "1.2.840.113549.1.7.1",
      "message_digest": "SHA-256 of exact consumer-owned original bytes",
      "signature_input_digest": "SHA-256 of exact DER signed-attribute bytes",
      "detached": true,
      "original_file_transfer": false,
      "response": "Echo ordered task IDs, SigType CMS, exact ProcessingRules and unchanged ToBeSignedBytes; Base64Signature Type rsa-sha256 and public SignatureCertificateChain",
      "consumer_responsibility": "Verify signed response/session/signer/credential, exact prepared bytes and rule; assemble detached CMS and independently verify against retained original and configured certificate trust",
      "source_manifest": "../docs/90-reference/generic-cms/manifest.json",
      "consumer_guide": "../docs/70-integration/GENERIC-CMS.md",
      "interoperability": "Explicit named local processing rule using existing schema values; external counterpart acceptance is not established",
      "consumer_profiles": {
        "utf8_text": {
          "classification": "Exact UTF-8 consumer profile over the detached CMS binding",
          "guide": "../docs/70-integration/UTF8-TEXT.md",
          "encoding": "strict UTF-8, malformed input rejected",
          "original_bytes_min": 0,
          "original_bytes_max": 1048576,
          "original_bound_scope": "consumer only; original not transmitted",
          "bom": "preserve",
          "newlines": "preserve",
          "unicode_normalization": "none",
          "original_media_type": "text/plain; charset=UTF-8 (consumer assertion; not inferred from id-data)",
          "signed_attributes": [
            "contentType id-data",
            "messageDigest SHA-256(original)"
          ],
          "packaging": [
            "meddelande.txt",
            "meddelande.p7s"
          ]
        }
      }
    }
  },
  "ades_type": "omitted or None",
  "optional_event_log_configuration_schema": "event-log.configuration.schema.json",
  "event_log_contract": "event-log.contract.json",
  "dynamic_issuance_development": {
    "classification": "Implemented optional protected installed dynamic human mode; selected software/SoftHSM REST/SCEP/EST/Access/XML-PDF/database/archive/image and negative paths are scoped in external-pki-dynamic.contract.json. Current independent technical acceptance and exact artifact applicability are recorded in canonical task/review evidence; no general Cartesian or production claim.",
    "contract": "external-pki-dynamic.contract.json",
    "wire_change": false,
    "issued_chain": "Original actually issued leaf/chain bound to exact same-flow known completed transaction",
    "original_cms_time": "When present, original validated CMS/PDF signingTime must be inside issued leaf validity before private signing; no signed-input rewriting",
    "release": "One-shot public-only final freshness guard after envelope/form serialization before HTTP headers/body; no private retry or browser resume",
    "static_examples": "Existing samples retain their original static/supplied credential scope; they do not qualify dynamic issuance"
  },
  "installed_http_response_policy": {
    "scope": "Installed host policy, separate from DSS normative parsing and authorization limits",
    "dynamic_human_seconds": 180,
    "supplied_static_human_seconds": 30,
    "authority": "No extension of original identity, issuance, consent, certificate or transaction validity",
    "delivery": "Configure proxy/client timeouts for the selected synchronous host. Lost response is uncertain; no issuance/signing retry or old-browser resumption authority follows."
  },
  "ades_type_scope": "Generic XML/PDF/CMS use omitted/None; selected XML/BES XAdES and PDF/BES PAdES require their exact processing rules and conditional task contracts.",
  "ades_type_profiles": {
    "generic_xml_pdf_cms": "omitted or None",
    "selected_xades": "BES only with XML and exact task_profiles.XML.xades.processing_rules",
    "selected_pades": "BES only with PDF and exact task_profiles.PDF.pades.processing_rules"
  },
  "profile_scope": "Existing Sweden Connect XML/PDF/CMS/XAdES/PAdES signing bindings; local_additional_profiles is separate and default-off",
  "local_additional_profiles": {
    "JAdES": {
      "classification": "Detached JAdES B-B/B-T/B-LT/B-LTA with consumer-owned originals and encoded evidence",
      "profile": "urn:se:idombud:signing:dss:jades:v1",
      "namespace": "urn:se:idombud:signing:jades:dss:v1",
      "processing_rules": "urn:se:idombud:signing:jades:detached-uri-hash-sha256-rsa:v1",
      "schema": "jades-dss.xsd",
      "selection": "Separate local SignRequest/@Profile; never an official csig:SignTaskData SigType",
      "request_path": "InputDocuments/Other/jad:JadesSignTasks/jad:JadesSignTask",
      "response_path": "SignatureObject/Other/jad:JadesSignTasks/jad:JadesSignTask",
      "task_attributes": [
        "TaskId",
        "ProcessingRules"
      ],
      "task_id_pattern": "[A-Za-z0-9][A-Za-z0-9._:-]{0,95}",
      "request_children": [
        "ToBeSignedBytes"
      ],
      "success_children": [
        "ToBeSignedBytes",
        "Base64Signature"
      ],
      "signature_type": "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",
      "response_certificate_evidence": "Existing csig:SignResponseExtension/SignatureCertificateChain actual signing chain",
      "requester_configuration": {
        "field": "requesters[].additional_signing_profiles",
        "default": [],
        "allowed_values": [
          "urn:se:idombud:signing:dss:jades:v1"
        ],
        "duplicates": "rejected",
        "unknown": "rejected",
        "authority": "trusted administrator configuration only; registered requester key and connection allowlist still required"
      },
      "signing_input": "ASCII(base64url(exact strict UTF-8 protected JSON) + \".\")",
      "payload_contribution": "empty stream under ETSI TS119182-1 V1.2.1 clause 5.2.8.3.3 ObjectIdByURIHash; ordinary detached JWS alone does not omit payload from computation",
      "prehash": "SHA-256(M) exactly once; RSA PKCS#1 v1.5/SHA-256 prehash signing, never raw original hash or double hashing",
      "original_file_transfer": false,
      "original_fetch": false,
      "detached": true,
      "limits": {
        "tasks": 8,
        "signing_input_bytes": 16384,
        "task_id_characters": 96,
        "reference_uri_characters": 255,
        "mime_type_characters": 127,
        "protected_json_depth": 16,
        "protected_json_nodes": 1024,
        "rsa_minimum_bits": 2048,
        "rsa_maximum_bits": 4096,
        "signature_bytes_max": 512
      },
      "protected_header": {
        "closed_names": [
          "alg",
          "typ",
          "b64",
          "crit",
          "iat",
          "x5c",
          "x5t#S256",
          "sigD"
        ],
        "alg": "RS256",
        "typ": "JOSE+JSON",
        "b64": false,
        "crit": [
          "b64",
          "sigD"
        ],
        "iat": "Nonnegative lexical integer NumericDate seconds, no fraction/exponent; untrusted claim, not future; actual certificate validity covers claim and operation",
        "x5c": "Exactly one canonical standard Base64 complete actual static signing-leaf DER",
        "x5t#S256": "Unpadded canonical base64url SHA-256 of same actual leaf DER",
        "sigD": {
          "closed_names": [
            "mId",
            "pars",
            "hashM",
            "hashV",
            "ctys"
          ],
          "mId": "http://uri.etsi.org/19182/ObjectIdByURIHash",
          "pars": "Exactly one ASCII HTTPS URI with host and absolute path; no userinfo/query/fragment, max255; never dereferenced",
          "hashM": "S256",
          "hashV": "Exactly one unpadded canonical base64url SHA-256 of exact original octets with b64=false",
          "ctys": "Exactly one parameter-free MIME type, max127; consumer accuracy responsibility"
        }
      },
      "certificate_binding": "Actual preknown static signing-leaf DER from trusted credential configuration, checked before transaction, before private signing and against response; header never selects key",
      "dynamic_issuance": "Rejected before identification/issuance/signing; no post-consent certificate rewrite",
      "final_serialization": {
        "type": "flattened detached JWS JSON",
        "members": [
          "protected",
          "signature"
        ],
        "payload": "absent",
        "header": "absent",
        "unprotected": "forbidden",
        "scope": "Unchanged B-B result assembly; higher levels add only header.etsiU as described by consumer_augmentation"
      },
      "consumer_responsibility": "Verify signed DSS/session/signer/credential, exact M and rule, actual certificate, retained original sigD reference/hash, certificate trust/purpose/revocation, MIME and SignMessage association; assemble and independently verify full JAdES with EU DSS",
      "consumer_guide": "../docs/70-integration/JADES.md",
      "source_manifest": "../docs/90-reference/jades/manifest.json",
      "evidence": "/products/signing-server/next/integration/jades/",
      "consumer_augmentation": {
        "classification": "DECIDED bounded consumer policy; not ETSI universal grammar or maxima",
        "levels": [
          "B-B",
          "B-T",
          "B-LT",
          "B-LTA"
        ],
        "wire_change": false,
        "server_augmentation": false,
        "baseline_level_selector": "Consumer workflow only; no new signing field or per-requester minimum/maximum",
        "completed_jws": "B-B exactly protected/signature; augmented exactly protected/signature/header with header exactly etsiU",
        "encoded_unsigned_components": "Nonempty append-only array of canonical unpadded base64url strings; each decodes to strict UTF-8 JSON with exactly one supported property; preserve every prior encoded string verbatim; no clear/mixed mode or canonAlg",
        "properties": [
          "sigTst",
          "anyValData",
          "arcTst"
        ],
        "signature_timestamp": {
          "count": 1,
          "tokens_per_component": 1,
          "input": "ASCII of exact canonical unpadded base64url signature member; no quotes, raw RSA, header, payload or full JWS",
          "imprint": "SHA-256(input)",
          "imprint_kind": "signature_value"
        },
        "archive": {
          "maximum_count": 8,
          "input": "original exact octets || ASCII(\".\"+protectedU+\".\"+signatureU+\".\") || ASCII(concatenation of each preceding exact encoded etsiU entry); no separators/quotes/new arcTst or later entries",
          "imprint": "SHA-256 of exact bounded prepared input",
          "imprint_kind": "original",
          "policy": "Preload useful missing/fresh evidence for all previous signed objects and configured next TSA before arcTst; end in arcTst, no trailing tstVD; preserve exact prior prefix",
          "renewal": "Validate complete existing LTA, append useful unique anyValData if needed and one arcTst; never invoke original signing key; strictly increasing archive genTime"
        },
        "validation_material": {
          "xVals": "[{\"x509Cert\":{\"val\":\"canonical standard Base64 DER\"}}]",
          "rVals": "{\"crlVals\":[{\"val\":\"canonical standard Base64 DER\"}]}",
          "timestamp_token": "tstTokens exactly one {val: canonical standard Base64 DER}; omit type/encoding/specRef",
          "revocation": "Complete direct-issuer CRLs only; no OCSP/delta/indirect CRL support",
          "duplicates": "Deduplicate explicit material by DER identity across history; preserve immutable token bytes including embedded certificates",
          "trust": "Separate configured roots only; embedded roots never establish trust",
          "offline": "Full level validation with AIA/CRL/OCSP network retrieval disabled",
          "historical": "Validate PKIX/status at proven timestamp/POE instants with complete archive coverage; iat alone is untrusted; current new material and renewal before latest usable protection expiry",
          "anyValData": "Nonempty object of useful xVals and/or rVals; no evidence URI"
        },
        "limits": {
          "completed_jws_bytes": 16777216,
          "decoded_component_json_bytes": 4194304,
          "aggregate_decoded_component_json_bytes": 12582912,
          "etsiU_components": 32,
          "archive_components": 8,
          "sigTst_components": 1,
          "tokens_per_component": 1,
          "all_tokens": 9,
          "json_depth_per_strict_parse": 8,
          "aggregate_json_nodes_including_decoded_components": 8192,
          "object_members": 16,
          "evidence_entries_per_container_array": 8,
          "token_der_bytes": 65536,
          "certificate_der_bytes": 32768,
          "crl_der_bytes": 262144,
          "aggregate_der_bytes_including_tokens": 8388608,
          "certificates_per_path_including_root": 4,
          "configured_roots": 4,
          "crls_per_preparation_material_batch": 8,
          "der_depth": 32,
          "der_nodes_per_object": 8192,
          "aggregate_der_nodes": 131072,
          "archive_hash_input_bytes": 33554432,
          "draft_state_json_bytes": 65536,
          "draft_lifetime_seconds_max": 300,
          "full_validator_receipt_lifetime_seconds_max": 30,
          "new_token_max_age_seconds": 30,
          "new_token_future_skew_seconds": 5,
          "b_b_jws_bytes": 65536,
          "explicit_certificates_across_history": 32,
          "explicit_crls_across_history": 32,
          "operation_configuration_json_bytes": 16384,
          "validator_process_timeout_seconds": 45
        },
        "strict_parser": "Reject duplicate decoded names at every JSON layer, malformed UTF-8/BOM/trailing bytes, unknown members, mixed mode, noncanonical Base64/base64url, malformed/noncanonical DER and budget excess before allocation/library parsing; simultaneous aggregate ceilings apply Opaque inner CMS eContent TSTInfo is independently framed and included in aggregate DER node accounting.",
        "draft_and_recovery": "Archive state pins original/JWS/prefix and covered-input hashes, prior level, original preparation pin, roots and exact TSA/CRL material with expiry. The surrounding consumer retains submitted request ID/requester/profile/provider/policy correlation separately; archive-complete requires and checks those fields against the exact timestamp response. Fresh matching full-validation receipt and fresh exact token required; CREATE_NEW output, unchanged prior artifact on failure; no automatic timestamp retry/reissue/fresh-ID substitution or document re-signing.",
        "retention": "Consumer retains originals, every revision and exact encoded history, validation material, tokens, configured trust/policy history, receipts and durable correlation; expiry is not permission to delete transaction/receipt/audit/key history; monitor and renew before protection becomes insufficient",
        "independent_validator": "Pinned EU DSS 6.5.1, complete requested-level TOTAL_PASSED and all timestamp integrity/validation; not only raw RSA",
        "guide": "../docs/70-integration/JADES.md",
        "grammar": {
          "B_B": "No header; exactly protected and signature",
          "B_T": "Exactly sigTst",
          "B_LT": "sigTst, anyValData (useful missing complete signer and initial-TSA certificate/CRL evidence)",
          "B_LTA": "B_LT prefix followed by 1..8 archive generations: zero or more useful anyValData entries then arcTst; each material entry adds unique missing/fresh relevant material, including configured next-TSA evidence; completed history ends arcTst, never tstVD. Consecutive useful material blocks preserve immutable earlier encodings; total component/certificate/CRL/DER bounds still apply.",
          "unsupported_components": [
            "tstVD",
            "xVals",
            "rVals",
            "canonAlg",
            "cSig",
            "sigPSt",
            "adoTst",
            "sigRTst"
          ],
          "note": "Selected local subset; xVals/rVals appear only as nested members of anyValData, never standalone etsiU components"
        },
        "limits_scope": "Envelope/component JSON and DER bounds describe complete JAdES parsing; CLI operation/state/timestamp-response JSON has a separate depth8/node256/member32 parser and independent byte limits."
      }
    }
  },
  "task_types_scope": "Existing standard-profile csig:SignTaskData only; no JAdES SigType is defined",
  "limits_scope": "Shared encoded form/XML/task-count/message/time limits apply to all profiles; task_decoded_bytes=8192 is standard-profile only; local JAdES signing input is bounded separately at16384 bytes",
  "profile_selection": {
    "signing_binding": "Requester selects the exact SigType/AdESType/ProcessingRules tuple; JAdES uses its separate explicitly enabled root Profile and task collection.",
    "configuration": "Trusted host/requester configuration controls allowed connections, credentials and optional JAdES profile; it does not add a general per-requester Baseline minimum/maximum.",
    "baseline_level": "No B-B/B-T/B-LT/B-LTA field is present in this signing request. The consumer assembles/augments and independently verifies the requested complete level.",
    "timestamp_profile": "Separate timestamp-v1 requests select an administrator-configured profile granted to the requester; endpoint, policy, signer, nonce and trust are server-selected."
  }
}
