Code cleanup
This commit is contained in:
parent
d7fe3aed46
commit
567f790e3f
|
@ -982,7 +982,4 @@ public class Sys {
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -126,6 +126,7 @@ public class CryptoX509 {
|
||||||
/**
|
/**
|
||||||
* @return true if saving the x509 certificate to a PEM format file was successful
|
* @return true if saving the x509 certificate to a PEM format file was successful
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public static boolean convertToPemFile(X509Certificate x509cert, String fileName) {
|
public static boolean convertToPemFile(X509Certificate x509cert, String fileName) {
|
||||||
boolean failed = false;
|
boolean failed = false;
|
||||||
Writer output = null;
|
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....
|
* 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) {
|
public static void loadKeystore(String keystoreLocation, String alias, char[] passwd, char[] keypasswd) {
|
||||||
// FileInputStream fileIn = new FileInputStream(keystoreLocation);
|
// FileInputStream fileIn = new FileInputStream(keystoreLocation);
|
||||||
// KeyStore keyStore = KeyStore.getInstance("JKS");
|
// KeyStore keyStore = KeyStore.getInstance("JKS");
|
||||||
|
|
|
@ -18,6 +18,7 @@ import org.bouncycastle.operator.bc.BcContentVerifierProviderBuilder;
|
||||||
|
|
||||||
public class BcECDSAContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder {
|
public class BcECDSAContentVerifierProviderBuilder extends BcContentVerifierProviderBuilder {
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public BcECDSAContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) {
|
public BcECDSAContentVerifierProviderBuilder(DigestAlgorithmIdentifierFinder digestAlgorithmFinder) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user