timestamping-services

get the timestamping services

Changed on
<h3>CS administrator views the approved timestamping services configured for this X-Road instance.</h3>
get/timestamping-services

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/timestamping-services
  • Auth: API key in header Authorization

Response

list of timestamping services

urlstring url required

url of the timestamping service

cost_type'FREE' | 'PAID' | 'UNDEFINED' enum required

cost type for services like TSP-s and OCSP responders

idinteger required

unique identifier

timestamping_intervalinteger required

timestamping interval in seconds

Example response

[
  {
    "url": "http://dev.xroad.rocks:8899",
    "cost_type": "FREE",
    "certificate": {
      "hash": "1234567890ABCDEF",
      "issuer_common_name": "domain.com",
      "issuer_distinguished_name": "issuer123",
      "key_usages": [
        "NON_REPUDIATION"
      ],
      "not_after": "2022-01-17T00:00:00.001Z",
      "not_before": "2022-01-17T00:00:00.001Z",
      "public_key_algorithm": "sha256WithRSAEncryption",
      "rsa_public_key_exponent": 65537,
      "rsa_public_key_modulus": "c44421d601...",
      "ec_public_parameters": "secp256r1(1.2.840.10045.3.1.7)",
      "ec_public_key_point": "c44421d601...",
      "serial": "123456789",
      "signature": "30af2fdc1780...",
      "signature_algorithm": "sha256WithRSAEncryption",
      "subject_alternative_names": "DNS:*.example.org",
      "subject_common_name": "domain.com",
      "subject_distinguished_name": "subject123",
      "version": 3
    },
    "id": 123,
    "timestamping_interval": 60
  }
]

Changes

    • ▲

      removed the required property / from the response with the status

    • ○

      added to the response property allOf list for the response status

    • ○

      added the optional property ////// to the response with the status

    • ○

      added the optional property ////// to the response with the status