Class PublicKeyJwks
java.lang.Object
io.confluent.kafka.clients.plugins.auth.jwt.PublicKeyJwks
PublicKeyJwks converts PublicKeys files into a
JsonWebKey collection.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.jose4j.jwk.JsonWebKey> static Collection<PublicKey> loadPublicKey(String pemLocation) Convert PEM encoded public key files to aPublicKeycollection.
-
Constructor Details
-
PublicKeyJwks
-
-
Method Details
-
loadPublicKey
Convert PEM encoded public key files to aPublicKeycollection.- Parameters:
pemLocation- - location of PEM encoded file or directory containing PEM encoded files.- Returns:
- collection of successfully loaded public keys.
- Throws:
IOException- if PEM encoded files cannot be loaded from the filesystem successfully.
-
getJsonWebKeys
-