Home | History | Annotate | Download | only in config
      1 package org.bouncycastle.jcajce.provider.config;
      2 
      3 import java.io.OutputStream;
      4 import java.security.KeyStore;
      5 import java.security.KeyStore.ProtectionParameter;
      6 
      7 /**
      8  * @deprecated use org.bouncycastle.jcajce.PKCS12StoreParameter
      9  */
     10 public class PKCS12StoreParameter
     11     extends org.bouncycastle.jcajce.PKCS12StoreParameter
     12 {
     13     public PKCS12StoreParameter(OutputStream out, char[] password)
     14     {
     15         super(out, password, false);
     16     }
     17 
     18     public PKCS12StoreParameter(OutputStream out, ProtectionParameter protectionParameter)
     19     {
     20         super(out, protectionParameter, false);
     21     }
     22 
     23     public PKCS12StoreParameter(OutputStream out, char[] password, boolean forDEREncoding)
     24     {
     25         super(out, new KeyStore.PasswordProtection(password), forDEREncoding);
     26     }
     27 
     28     public PKCS12StoreParameter(OutputStream out, ProtectionParameter protectionParameter, boolean forDEREncoding)
     29     {
     30         super(out, protectionParameter, forDEREncoding);
     31     }
     32 }
     33