xpertss.json.schema.format.extra.SHA512FormatAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema Show documentation
Show all versions of json-schema Show documentation
A Java implementation of the JSON Schema specification.
The newest version!
package xpertss.json.schema.format.extra;
import xpertss.json.schema.format.FormatAttribute;
import xpertss.json.schema.format.helpers.HexStringFormatAttribute;
/**
* Format specifier for {@code sha512}
*
* @see HexStringFormatAttribute
*/
public final class SHA512FormatAttribute extends HexStringFormatAttribute {
private static final FormatAttribute instance = new SHA512FormatAttribute();
private SHA512FormatAttribute()
{
super("sha512", 128);
}
public static FormatAttribute getInstance()
{
return instance;
}
}