mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
replaces strings to enable compile time checking
This commit is contained in:
parent
7e1764200b
commit
a747ddbae4
1 changed files with 5 additions and 5 deletions
|
@ -15,11 +15,11 @@ public class SecurityProvider extends Provider {
|
|||
put("SecureRandom.DEFAULT", DefaultRandom.class.getName());
|
||||
|
||||
// Workaround for BKS truststore
|
||||
put("KeyStore.BKS", "org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std");
|
||||
put("KeyStore.BKS-V1", "org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Version1");
|
||||
put("KeyStore.BouncyCastle", "org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$BouncyCastleStore");
|
||||
put("KeyFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory");
|
||||
put("CertificateFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory");
|
||||
put("KeyStore.BKS", org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.Std.class.getCanonicalName());
|
||||
put("KeyStore.BKS-V1", org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.Version1.class.getCanonicalName());
|
||||
put("KeyStore.BouncyCastle", org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.BouncyCastleStore.class.getCanonicalName());
|
||||
put("KeyFactory.X.509", org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory.class.getCanonicalName());
|
||||
put("CertificateFactory.X.509", org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory.class.getCanonicalName());
|
||||
}
|
||||
|
||||
public static class DefaultRandom extends SecureRandomSpi {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue