Code example for PBEKeySpec

Methods: getSalt

0
    return spec.getPassword ();
  } 
 
  public byte[] getSalt () 
  { 
    return spec.getSalt ();
  } 
 
  public String getAlgorithm ()
  { 
    return "PBE"; 
  } 
 
  public String getFormat ()
  { 
    return "NONE"; // FIXME? 
  } 
 
  public byte[] getEncoded () 
  {