In base ai requisiti del WinnForum, alcuni CBSD richiedono che un installatore professionista
certificato (CPI) convalidi i parametri di installazione prima di essere inviati al SAS.
Figura 1. Flusso di convalida dell'identità del CPI
Nell'API SAS Portal, dobbiamo verificare che un determinato utente abbia una certificazione CPI valida prima che possa chiamare il metodo SignDevice(). Lo facciamo con il seguente metodo di convalida in due passaggi:
Un utente con il ruolo role_cpi chiama il metodo
GenerateSecret()
che restituisce un secret.
L'utente firma il secret con la sua chiave privata e utilizza il metodo
ValidateInstaller()
per restituire la versione codificata come
JWT, insieme al loro ID CPI e
al secret originale. Per maggiori dettagli sulla creazione dei token, consulta
Formato del token web JSON.
I privilegi del ruolo CPI entrano in vigore solo dopo che un utente con il ruolo role_cpi ha completato correttamente il flusso di convalida del CPI.
[null,null,["Ultimo aggiornamento 2022-09-26 UTC."],[[["Certain CBSDs require Certified Professional Installer (CPI) validation before installation parameters are sent to the Spectrum Access System (SAS)."],["CPI validation is a two-step process involving secret generation and JWT-based signature validation using the CPI's private key."],["Users with the `role_cpi` role must successfully complete the CPI validation flow to gain CPI privileges within the SAS Portal API."]]],["Certified Professional Installers (CPIs) must validate installation parameters for certain CBSDs. The process involves two steps via the SAS Portal API: First, a user with `role_cpi` obtains a secret using `GenerateSecret()`. Second, they sign the secret with their private key and submit it via `ValidateInstaller()`, along with their CPI ID, using a JWT. This validates the CPI's identity, granting them CPI role privileges, enabling them to use the `SignDevice()` method. The user must be logged in and use HTTPS.\n"]]