|
mitreid-connect
|


公開メンバ関数 | |
| DefaultJWTSigningAndValidationService (Map< String, JWK > keys) throws NoSuchAlgorithmException, InvalidKeySpecException | |
| DefaultJWTSigningAndValidationService (JWKSetKeyStore keyStore) throws NoSuchAlgorithmException, InvalidKeySpecException | |
| String | getDefaultSignerKeyId () |
| void | setDefaultSignerKeyId (String defaultSignerId) |
| JWSAlgorithm | getDefaultSigningAlgorithm () |
| void | setDefaultSigningAlgorithmName (String algName) |
| String | getDefaultSigningAlgorithmName () |
| void | signJwt (SignedJWT jwt) |
| void | signJwt (SignedJWT jwt, JWSAlgorithm alg) |
| boolean | validateSignature (SignedJWT jwt) |
| Map< String, JWK > | getAllPublicKeys () |
| Collection< JWSAlgorithm > | getAllSigningAlgsSupported () |
非公開メンバ関数 | |
| void | buildSignersAndVerifiers () throws NoSuchAlgorithmException, InvalidKeySpecException |
非公開変数類 | |
| Map< String, JWSSigner > | signers = new HashMap<>() |
| Map< String, JWSVerifier > | verifiers = new HashMap<>() |
| String | defaultSignerKeyId |
| JWSAlgorithm | defaultAlgorithm |
| Map< String, JWK > | keys = new HashMap<>() |
静的非公開変数類 | |
| static final Logger | logger = LoggerFactory.getLogger(DefaultJWTSigningAndValidationService.class) |
|
inline |
Build this service based on the keys given. All public keys will be used to make verifiers, all private keys will be used to make signers.
| keys | A map of key identifier to key |
| InvalidKeySpecException | If the keys in the JWKs are not valid |
| NoSuchAlgorithmException | If there is no appropriate algorithm to tie the keys to. |
|
inline |
Build this service based on the given keystore. All keys must have a key id (
) field in order to be used.
| keyStore | the keystore to load all keys from |
| InvalidKeySpecException | If the keys in the JWKs are not valid |
| NoSuchAlgorithmException | If there is no appropriate algorithm to tie the keys to. |
|
inlineprivate |
Build all of the signers and verifiers for this based on the key map.
| InvalidKeySpecException | If the keys in the JWKs are not valid |
| NoSuchAlgorithmException | If there is no appropriate algorithm to tie the keys to. |
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
|
inline |
| defaultSignerKeyId | the defaultSignerKeyId to set |
|
inline |
|
inline |
Sign a jwt in place using the configured default signer.
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
inline |
org.mitre.jwt.signer.service.JWTSigningAndValidationServiceを実装しています。
|
private |
|
private |
|
private |
|
staticprivate |
Logger for this class
|
private |
|
private |
1.8.13