<commit_before>---
title: Java
---

```java
java
```<commit_msg>Add RS256 snippet for Java<commit_after>---
title: Java
---

```java
final PublicKey publicKey = readPublicKey(PEM_FILENAME);
final JwtVerifier jwtVerifier = new JwtVerifier(publicKey);
final Map<String, Object> verifiedClaims = jwtVerifier.verify(token);
```
{'fraction_non_alphanumeric': 0.14860681114551083, 'fraction_numerical': 0.009287925696594427, 'mean_word_length': 5.75, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5193544', 'n_tokens_mistral': 117, 'n_tokens_neox': 107, 'n_words': 27}