public class UtilsRepo 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 |
|---|
UtilsRepo() |
| 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 RepoLoader |
getRepoLoader() |
static int |
hashAlgToId(String hashAlg) |
static List<X509Certificate> |
listCertFromFile(String certFilePath) |
static List<X509Certificate> |
listCertFromRepo(String certFilePath) |
static X509Certificate |
loadCertFromFile(String certFilePath) |
static X509Certificate |
loadCertFromRepo(String certFilePath) |
static List<X509Certificate> |
loadMultiCertFromFile(String certFilePath) |
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 X509Certificate loadCertFromRepo(String certFilePath) throws Exception
Exceptionpublic static List<X509Certificate> listCertFromRepo(String certFilePath) throws Exception
Exceptionpublic static List<X509Certificate> listCertFromFile(String certFilePath) throws Exception
Exceptionpublic static X509Certificate loadCertFromFile(String certFilePath) throws Exception
Exceptionpublic static List<X509Certificate> loadMultiCertFromFile(String certFilePath) throws Exception
Exceptionpublic 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
Exceptionpublic static RepoLoader getRepoLoader()
Copyright © 2020. All rights reserved.