public class FileSystemKeyStoreLoader extends Object implements KeyStoreLoader
| Constructor and Description |
|---|
FileSystemKeyStoreLoader(File file)
Class constructor that checks whether the specified parameter exists and whether it is a file.
|
FileSystemKeyStoreLoader(InputStream inputStream)
Class constructor for default type PKCS12, that checks
whether the specified parameter exists.
|
FileSystemKeyStoreLoader(InputStream inputStream,
String type)
Class constructor that checks whether the specified
parameters exist and whether they are valid.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getFileKeyStore() |
InputStream |
getInputStreamKeyStore() |
KeyStore |
getKeyStore()
Not implemented, use getKeyStore (pinNumer)
|
KeyStore |
getKeyStore(String pinNumber)
Attempts to load the KeyStore first in the PKCS12 pattern.
|
String |
getType() |
void |
setCallbackHandler(CallbackHandler callback) |
void |
setFileKeyStore(File fileKeyStore) |
void |
setInputStreamKeyStore(InputStream inputStreamKeyStore) |
void |
setType(String type) |
public FileSystemKeyStoreLoader(File file)
file - File representing a KeyStore of type PKCS12 or JKSpublic FileSystemKeyStoreLoader(InputStream inputStream, String type)
inputStream - the input.type - the type.public FileSystemKeyStoreLoader(InputStream inputStream)
inputStream - the input.public File getFileKeyStore()
public void setFileKeyStore(File fileKeyStore)
public InputStream getInputStreamKeyStore()
public void setInputStreamKeyStore(InputStream inputStreamKeyStore)
public String getType()
public void setType(String type)
public KeyStore getKeyStore(String pinNumber)
getKeyStore in interface KeyStoreLoaderpinNumber - pinpublic KeyStore getKeyStore()
getKeyStore in interface KeyStoreLoaderKeyStorepublic void setCallbackHandler(CallbackHandler callback)
setCallbackHandler in interface KeyStoreLoadercallback - handler of callbacks, used to provide PIN entryCallbackHandlerCopyright © 2025 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.