1 package org.bouncycastle.jcajce.provider.keystore; 2 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 5 6 public class BC 7 { 8 private static final String PREFIX = "org.bouncycastle.jcajce.provider.keystore" + ".bc."; 9 10 public static class Mappings 11 extends AsymmetricAlgorithmProvider 12 { 13 public Mappings() 14 { 15 } 16 17 public void configure(ConfigurableProvider provider) 18 { 19 provider.addAlgorithm("KeyStore.BKS", PREFIX + "BcKeyStoreSpi$Std"); 20 // BEGIN android-removed 21 // provider.addAlgorithm("KeyStore.BKS-V1", PREFIX + "BcKeyStoreSpi$Version1"); 22 // END android-removed 23 provider.addAlgorithm("KeyStore.BouncyCastle", PREFIX + "BcKeyStoreSpi$BouncyCastleStore"); 24 provider.addAlgorithm("Alg.Alias.KeyStore.UBER", "BouncyCastle"); 25 provider.addAlgorithm("Alg.Alias.KeyStore.BOUNCYCASTLE", "BouncyCastle"); 26 provider.addAlgorithm("Alg.Alias.KeyStore.bouncycastle", "BouncyCastle"); 27 } 28 } 29 } 30