public class UtilsLocal extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ALG_SHA1 |
protected static int |
ALG_SHA224 |
protected static int |
ALG_SHA256 |
protected static int |
ALG_SHA384 |
protected static int |
ALG_SHA512 |
protected static String |
ID_SHA1 |
| Constructor and Description |
|---|
UtilsLocal() |
| Modifier and Type | Method and Description |
|---|---|
static String |
conv(byte[] byteArray) |
static byte[] |
convHexToByte(String content) |
static X509Certificate |
createCert(byte[] b) |
static X509Certificate |
createCert(String b64Enc) |
static int |
hashAlgToId(String hashAlg) |
protected static final String ID_SHA1
protected static final int ALG_SHA1
protected static final int ALG_SHA224
protected static final int ALG_SHA256
protected static final int ALG_SHA384
protected static final int ALG_SHA512
public static String conv(byte[] byteArray)
public static byte[] convHexToByte(String content)
public static int hashAlgToId(String hashAlg)
public static X509Certificate createCert(String b64Enc) throws Exception
Exceptionpublic static X509Certificate createCert(byte[] b) throws Exception
ExceptionCopyright © 2020. All rights reserved.