timestamping-services

get a timestamping service

Changed on
<h3>CS administrator views an approved timestamping service's details.</h3>
get/timestamping-services/{timestamping_service_id}

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/{timestamping_service_id}
  • Auth: API key in header Authorization

Response

a timestamping service

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 body 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