equal
deleted
inserted
replaced
104 MyPBEKey(char[] passwd, byte[] salt, int iCount) { |
104 MyPBEKey(char[] passwd, byte[] salt, int iCount) { |
105 this.passwd = passwd; |
105 this.passwd = passwd; |
106 this.salt = salt; |
106 this.salt = salt; |
107 this.iCount = iCount; |
107 this.iCount = iCount; |
108 } |
108 } |
109 public char[] getPassword() { return passwd; } |
109 public char[] getPassword() { return passwd.clone(); } |
110 public byte[] getSalt() { return salt; } |
110 public byte[] getSalt() { return salt; } |
111 public int getIterationCount() { return iCount; } |
111 public int getIterationCount() { return iCount; } |
112 public String getAlgorithm() { return "PBE"; } |
112 public String getAlgorithm() { return "PBE"; } |
113 public String getFormat() { return "RAW"; } |
113 public String getFormat() { return "RAW"; } |
114 public byte[] getEncoded() { return null; } |
114 public byte[] getEncoded() { return null; } |