test/jdk/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java
changeset 51504 c9a3e3cac9c7
parent 47216 71c04702a3d5
equal deleted inserted replaced
51503:0265a70ea2a5 51504:c9a3e3cac9c7
   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; }