JSON Web Token の形式
JSON Web Token(JWT)は、次の 2 つの方法で SAS Portal API で使用されます。
- CPI の本人確認を行う。
- CPI のインストールを必要とする CBSD のインストールを CPI 以外でサポートできるようにする。
CPI ID の検証中、CPI は、SAS Portal API によって生成されたシークレットから JWT を作成するよう求められます。この場合、CPI は秘密鍵を使用して JWT を作成します。
あるいは、CPI 以外の人が SAS Portal API を使用して、CPI によって作成された JWT からデバイス設定を作成することもできます。この場合、JWT に CBSD 登録パラメータが含まれており、CPI は秘密鍵を使用して JWT を作成します。
JSON Web Signature(JWS)標準は RFC 7515 で定義されており、SAS Portal API は ES256 と RS256 の署名アルゴリズムをサポートしています。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-09-26 UTC。
[null,null,["最終更新日 2022-09-26 UTC。"],[[["The SAS Portal API utilizes JSON Web Tokens (JWTs) for CPI identity validation and to enable non-CPIs to assist in CBSD installations requiring CPI involvement."],["During CPI identity validation, the CPI generates a JWT using a secret from the SAS Portal API and their private key."],["Non-CPIs can utilize the SAS Portal API to create device configurations from a CPI-generated JWT containing CBSD registration parameters, signed with the CPI's private key."],["The SAS Portal API adheres to the JSON Web Signature (JWS) standard (RFC 7515) and supports ES256 and RS256 signature algorithms."]]],["JWTs are used within the SAS Portal API for CPI identity validation and to enable non-CPIs to assist with installing CBSDs requiring CPI installation. CPIs create JWTs using their private keys for both purposes. During identity validation, they create a JWT from a SAS Portal API-generated secret. For non-CPI assistance, they create JWTs containing CBSD registration parameters. The API utilizes the JWS standard (RFC 7515) and supports ES256 and RS256 signature algorithms.\n"]]