Code cleanup

This commit is contained in:
nathan 2014-11-24 00:54:10 +01:00
parent d7fe3aed46
commit 567f790e3f
3 changed files with 3 additions and 3 deletions

View File

@ -982,7 +982,4 @@ public class Sys {
return null;
}
}

View File

@ -126,6 +126,7 @@ public class CryptoX509 {
/**
* @return true if saving the x509 certificate to a PEM format file was successful
*/
@SuppressWarnings("unused")
public static boolean convertToPemFile(X509Certificate x509cert, String fileName) {
boolean failed = false;
Writer output = null;
@ -1255,6 +1256,7 @@ public class CryptoX509 {
*
* Code is present but commented out, as it was a PITA to figure it out, as documentation is lacking....
*/
@SuppressWarnings("unused")
public static void loadKeystore(String keystoreLocation, String alias, char[] passwd, char[] keypasswd) {
// FileInputStream fileIn = new FileInputStream(keystoreLocation);
// KeyStore keyStore = KeyStore.getInstance("JKS");

View File

@ -18,6 +18,7 @@ import org.bouncycastle.operator.bc.BcContentVerifierProviderBuilder;
public class BcECDSAContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder {
@SuppressWarnings("unused")
public BcECDSAContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) {
}