Public signing key
curl --request GET \
--url https://app.blockgence.com/v1/evidence/signing-keyimport requests
url = "https://app.blockgence.com/v1/evidence/signing-key"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.blockgence.com/v1/evidence/signing-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.blockgence.com/v1/evidence/signing-key",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.blockgence.com/v1/evidence/signing-key"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/evidence/signing-key")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/evidence/signing-key")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEvidence
Public signing key
Returns the public key blockgence uses to sign sealed documents, to verify who issued them. No API key required. The response can be cached for up to 5 minutes.
Main fields:
configured: the key this service signs with (key_id,public_key,public_key_pemand its status in the published registry), ornull, with the reason inconfigured_note.published: the versioned blockgence key registry, with the active, retired and revoked keys and their validity period. It is advisable to also compare it with the one published on the blockgence website, which does not depend on this service.matches_published: whether the configured key is the active published key (nullif there is no key).
It also includes the message that is signed (signed_message), what the signature proves and what it does
not, and the steps to verify it.
GET
/
v1
/
evidence
/
signing-key
Public signing key
curl --request GET \
--url https://app.blockgence.com/v1/evidence/signing-keyimport requests
url = "https://app.blockgence.com/v1/evidence/signing-key"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.blockgence.com/v1/evidence/signing-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.blockgence.com/v1/evidence/signing-key",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.blockgence.com/v1/evidence/signing-key"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/evidence/signing-key")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/evidence/signing-key")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyResponse
200 - application/json
The public signing key and the published key registry.