Class KafkaVerificationKeyResolver

java.lang.Object
io.confluent.kafka.server.plugins.auth.oauth.KafkaVerificationKeyResolver
All Implemented Interfaces:
org.jose4j.keys.resolvers.VerificationKeyResolver

public class KafkaVerificationKeyResolver extends Object implements org.jose4j.keys.resolvers.VerificationKeyResolver
  • Constructor Details

    • KafkaVerificationKeyResolver

      public KafkaVerificationKeyResolver(String name, String sessionUuid, io.confluent.security.util.SecurityContext context)
  • Method Details

    • resolveKey

      public Key resolveKey(org.jose4j.jws.JsonWebSignature jws, List<org.jose4j.jwx.JsonWebStructure> nestingContext) throws org.jose4j.lang.UnresolvableKeyException
      Query TrustCache for public key corresponding to .
      Specified by:
      resolveKey in interface org.jose4j.keys.resolvers.VerificationKeyResolver
      Parameters:
      jws - the JsonWebSignature that's about to be verified
      nestingContext - a list of JOSE objects, if any, in which the JWS was nested. The last item in the list is the outer most JOSE object (not including the current JWS).
      Returns:
      the signature verification key