public static byte[] Pkcs12PasswordToBytes(char[] password)
 {
     return(PbeParametersGenerator.Pkcs12PasswordToBytes(password, false));
 }
 public override byte[] Convert(char[] password)
 {
     return(PbeParametersGenerator.Pkcs12PasswordToBytes(password));
 }
 public PasswordBasedDeriver(A algorithmDetails, PbeParametersGenerator generator)
 {
     this.approvedOnlyMode = CryptoServicesRegistrar.IsInApprovedOnlyMode();
     this.algorithmDetails = algorithmDetails;
     this.generator        = generator;
 }