com.nimbusds.jose.util.StandardCharset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nimbus-jose-jwt Show documentation
Show all versions of nimbus-jose-jwt Show documentation
Java library for Javascript Object Signing and Encryption (JOSE) and
JSON Web Tokens (JWT)
package com.nimbusds.jose.util;
import java.nio.charset.Charset;
/**
* UTF-8 is the standard charset in JOSE. Works around missing
* {@link java.nio.charset.StandardCharsets} in Android below API level 19.
*/
public final class StandardCharset {
/**
* UTF-8
*/
public static final Charset UTF_8 = Charset.forName("UTF-8");
/**
* Prevents public instantiation.
*/
private StandardCharset() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy