[XAdES4j] Signer un document XML
Bonjour,
Pour un de mes projets, je veux utiliser la librairie XAdES4j. Dans cette bibliothèque, je voudrais utiliser le constructeur ci-dessous, afin de signer en mode XAdES un document XML :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| public class FileSystemKeyStoreKeyingDataProvider extends KeyStoreKeyingDataProvider
{
/**
* @param keyStoreType the type of the keystore (jks, pkcs12, etc)
* @param keyStorePath the file-system path of the keystore
* @param certificateSelector the selector of signing certificate
* @param keyStorePasswordProvider the provider of the keystore loading password
* @param entryPasswordProvider the provider of entry passwords
* @param returnFullChain indicates of the full certificate chain should be returned, if available
* @throws KeyStoreException
*/
public FileSystemKeyStoreKeyingDataProvider(
final String keyStoreType,
final String keyStorePath,
SigningCertSelector certificateSelector,
KeyStorePasswordProvider keyStorePasswordProvider,
KeyEntryPasswordProvider entryPasswordProvider,
boolean returnFullChain) throws KeyStoreException
{ |
Mais pour moi, les arguments de ce constructeur me semblent obscurs, malgré mes recherches sur Internet.
Quelqu'un saurait-il m'indiquer comment procéder ?
Merci d'avance pour votre aide.