public class ICPBrasilUserHomeProviderCA extends Object implements ProviderCA
ICPBrasilOnLineSerproProviderCA or
ICPBrasilOnLineITIProviderCA.| Modifier and Type | Field and Description |
|---|---|
static String |
FILENAME_HASH |
static String |
FILENAME_ZIP |
static String |
FOLDER_SIGNER |
static Path |
FULL_PATH_FOLDER_SIGNER |
static Path |
FULL_PATH_HASH |
static Path |
FULL_PATH_ZIP |
static String |
PATH_HOME_USER |
| Constructor and Description |
|---|
ICPBrasilUserHomeProviderCA() |
| Modifier and Type | Method and Description |
|---|---|
Collection<X509Certificate> |
getCAs()
Main method for read trusted Certificate Authorities Chain
|
Collection<X509Certificate> |
getFromLocalZip(Path fileZip)
Load file from file system and read Certificate Authorities Chain
|
Collection<X509Certificate> |
getFromZip(InputStream zip)
get all Certificate Authorities stored on file
|
String |
getName()
This provider Name
|
Path |
verifyZIPPath()
Verify if folder exists, otherwise will create it
|
public static final String PATH_HOME_USER
public static final String FOLDER_SIGNER
public static final String FILENAME_ZIP
public static final String FILENAME_HASH
public static final Path FULL_PATH_FOLDER_SIGNER
public static final Path FULL_PATH_ZIP
public static final Path FULL_PATH_HASH
public Collection<X509Certificate> getCAs()
getCAs in interface ProviderCApublic Collection<X509Certificate> getFromLocalZip(Path fileZip)
fileZip - file to read frompublic Path verifyZIPPath() throws IOException
IOException - exceptionpublic Collection<X509Certificate> getFromZip(InputStream zip) throws RuntimeException
zip - input stream to read fromRuntimeException - exceptionpublic String getName()
getName in interface ProviderCACopyright © 2023 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.