Fetch the credential issuer's JWT VC Issuer Metadata
curl --request GET \
--url https://registry.baselayer.com/.well-known/jwt-vc-issuerimport requests
url = "https://registry.baselayer.com/.well-known/jwt-vc-issuer"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://registry.baselayer.com/.well-known/jwt-vc-issuer', 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://registry.baselayer.com/.well-known/jwt-vc-issuer",
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://registry.baselayer.com/.well-known/jwt-vc-issuer"
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://registry.baselayer.com/.well-known/jwt-vc-issuer")
.asString();require 'uri'
require 'net/http'
url = URI("https://registry.baselayer.com/.well-known/jwt-vc-issuer")
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_body{
"issuer": "https://registry.baselayer.com",
"jwks": {
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"kid": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
"alg": "EdDSA",
"use": "sig"
}
]
}
}{
"type": "invalid_host_header",
"code": 6317,
"message": "The request's Host header is missing, repeated or malformed; send exactly one Host of the form host[:port].",
"metadata": {}
}{
"type": "resource_not_found",
"code": 1,
"message": "Could not locate the resource for the given URI.",
"metadata": {}
}{
"type": "validation_failed",
"code": 7112,
"message": "The request is invalid.",
"metadata": {}
}Public keys and status lists
Fetch the credential issuer's JWT VC Issuer Metadata
JWT VC Issuer Metadata (draft-ietf-oauth-sd-jwt-vc-19 §4) for the credential issuer whose registry host the request names: issuer equals the iss of every credential that issuer signs, and jwks carries the same rotation set as that host’s JWKS. Verifiers resolve a credential’s signing key here. Unauthenticated; cacheable for one hour.
GET
/
.well-known
/
jwt-vc-issuer
Fetch the credential issuer's JWT VC Issuer Metadata
curl --request GET \
--url https://registry.baselayer.com/.well-known/jwt-vc-issuerimport requests
url = "https://registry.baselayer.com/.well-known/jwt-vc-issuer"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://registry.baselayer.com/.well-known/jwt-vc-issuer', 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://registry.baselayer.com/.well-known/jwt-vc-issuer",
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://registry.baselayer.com/.well-known/jwt-vc-issuer"
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://registry.baselayer.com/.well-known/jwt-vc-issuer")
.asString();require 'uri'
require 'net/http'
url = URI("https://registry.baselayer.com/.well-known/jwt-vc-issuer")
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_body{
"issuer": "https://registry.baselayer.com",
"jwks": {
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"kid": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
"alg": "EdDSA",
"use": "sig"
}
]
}
}{
"type": "invalid_host_header",
"code": 6317,
"message": "The request's Host header is missing, repeated or malformed; send exactly one Host of the form host[:port].",
"metadata": {}
}{
"type": "resource_not_found",
"code": 1,
"message": "Could not locate the resource for the given URI.",
"metadata": {}
}{
"type": "validation_failed",
"code": 7112,
"message": "The request is invalid.",
"metadata": {}
}Response
The issuer's metadata and public keys.