Check Post-Quantum TLS support
client.radar.postQuantum.tls.support(TLSSupportParams { host } query, RequestOptionsoptions?): TLSSupportResponse { bugs, host, kex, 2 more }
GET/radar/post_quantum/tls/support
Tests whether a hostname or IP address supports Post-Quantum (PQ) TLS key exchange. Returns information about the negotiated key exchange algorithm, whether it uses PQ cryptography, and any detected TLS implementation bugs (Split ClientHello, HRR failure, etc.).
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Check Post-Quantum TLS support
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.radar.postQuantum.tls.support({ host: 'cloudflare.com' });
console.log(response.bugs);{
"result": {
"bugs": {
"hrrFailure": true,
"splitClientHello": true,
"unknownKeyshare": true
},
"host": "host",
"kex": 0,
"kexName": "kexName",
"pq": true
},
"success": true
}Returns Examples
{
"result": {
"bugs": {
"hrrFailure": true,
"splitClientHello": true,
"unknownKeyshare": true
},
"host": "host",
"kex": 0,
"kexName": "kexName",
"pq": true
},
"success": true
}