Signature not verified though the correct public key and signature file are being used
问题 result variable in the below class is always returning false though I am using the correct signature file and the public key. public class VeriGen { static FileInputStream fin; public static void main(String args[]) throws Exception { Security.addProvider(new BouncyCastleProvider()); KeyStore msCertStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI"); msCertStore.load(null, null); X509Certificate c = ((X509Certificate) msCertStore.getCertificate("Software View Certificate Authority"));