es.gob.afirma.crypto.jarverifier.JarSignatureCertExtractorMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of afirma-crypto-jarverifier Show documentation
Show all versions of afirma-crypto-jarverifier Show documentation
Modulo para la comprobacion de la firma de un JAR
/* Copyright (C) 2011 [Gobierno de Espana]
* This file is part of "Cliente @Firma".
* "Cliente @Firma" is free software; you can redistribute it and/or modify it under the terms of:
* - the GNU General Public License as published by the Free Software Foundation;
* either version 2 of the License, or (at your option) any later version.
* - or The European Software License; either version 1.1 or (at your option) any later version.
* You may contact the copyright holder at: [email protected]
*/
package es.gob.afirma.crypto.jarverifier;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
final class JarSignatureCertExtractorMessages {
private static final String BUNDLE_NAME = "JarSignatureCertExtractorMessages"; //$NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle(BUNDLE_NAME);
private JarSignatureCertExtractorMessages() {
// Vacio
}
static String getString(final String key) {
try {
return RESOURCE_BUNDLE.getString(key);
}
catch (final MissingResourceException e) {
return '!' + key + '!';
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy