@deprecated since 0.10.0 - will be removed before 1.0.0. Use io.jsonwebtoken.io.Encoders#BASE64 or io.jsonwebtoken.io.Decoders#BASE64
| 23 | * or {@code io.jsonwebtoken.io.Decoders#BASE64} |
| 24 | */ |
| 25 | @Deprecated |
| 26 | public class Base64Codec extends AbstractTextCodec { |
| 27 | |
| 28 | public String encode(byte[] data) { |
| 29 | return Encoders.BASE64.encode(data); |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | public byte[] decode(String encoded) { |
| 34 | return Decoders.BASE64.decode(encoded); |
| 35 | } |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…