MCPcopy Create free account
hub / github.com/jwtk/jjwt / Base64Codec

Class Base64Codec

impl/src/main/java/io/jsonwebtoken/impl/Base64Codec.java:25–36  ·  view source on GitHub ↗

@deprecated since 0.10.0 - will be removed before 1.0.0. Use io.jsonwebtoken.io.Encoders#BASE64 or io.jsonwebtoken.io.Decoders#BASE64

Source from the content-addressed store, hash-verified

23 * or {@code io.jsonwebtoken.io.Decoders#BASE64}
24 */
25@Deprecated
26public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…