Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
encodeBase64(byte[] data) |
|
static byte[] |
sha384(byte[] data) |
|
static Coding |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Coding[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Coding[] values()
for (Coding c : Coding.values()) System.out.println(c);
public static Coding valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static byte[] sha384(byte[] data) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public static java.lang.String encodeBase64(byte[] data)
Copyright © 2018. All rights reserved.