All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nimbusds.jose.util.StandardCharset Maven / Gradle / Ivy

Go to download

Java library for Javascript Object Signing and Encryption (JOSE) and JSON Web Tokens (JWT)

There is a newer version: 9.48
Show newest version
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