public class PublicKeyOpenIdResolverImpl extends BaseOpenIdResolver
CLIENT_SECRET_KEY, ISSUER_KEY, JWK, KEY_ALIAS_KEY, KEYSTORE_LOCATION_KEY, KEYSTORE_PASS_KEY, KEYSTORE_TYPE_KEY, WELL_KNOWN_CONFIGURATION| Constructor and Description |
|---|
PublicKeyOpenIdResolverImpl(String issuer,
PublicKey key)
Constructor for PublicKeyOpenIdResolverImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validateIdentity(SignedJwt idClaim)
Validates the supplied Jwt against this OpenId Connect Idp.
|
void |
verifySignature(SignedJwt idClaim)
Verifies that the JWS was signed by the corresponding private key to this
public key.
|
createSigningHandlerForKey, getIssuerpublic void validateIdentity(SignedJwt idClaim) throws OpenIdConnectVerificationException
validateIdentity in interface OpenIdResolvervalidateIdentity in class BaseOpenIdResolveridClaim - The Jwt to test is authenticated from this issuerOpenIdConnectVerificationException - If the Jwt is unable to be verifiedpublic void verifySignature(SignedJwt idClaim) throws InvalidSignatureException
idClaim - The JWS to verifyInvalidSignatureException - If the JWS supplied does not match the key for this resolverCopyright © 2025 Open Identity Platform Community. All rights reserved.