public class PBEParameterSpec extends Object implements AlgorithmParameterSpec
| Constructor and Description | 
|---|
| PBEParameterSpec(byte[] salt, int iterationCount)
              构建PKCS#5标准中定义的基于密码的加密参数集。 
             | 
| PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec paramSpec)
              构建PKCS#5标准中定义的基于密码的加密参数集。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getIterationCount()
              返回迭代计数。 
             | 
| AlgorithmParameterSpec | getParameterSpec()
              返回密码算法参数规范。 
             | 
| byte[] | getSalt()
              返回盐。 
             | 
public PBEParameterSpec(byte[] salt,
                        int iterationCount) 
          salt - 盐。 
            salt的内容被复制以防止后续修改。 
           iterationCount - 迭代计数。 
           NullPointerException - 如果 
            salt为空。 
           public PBEParameterSpec(byte[] salt,
                        int iterationCount,
                        AlgorithmParameterSpec paramSpec) 
          salt - 盐。 
            salt的内容被复制以防止后续修改。 
           iterationCount - 迭代计数。 
           paramSpec - 密码算法参数规范,可以为空。 
           NullPointerException - 如果 
            salt为空。 
           public byte[] getSalt()
public int getIterationCount()
public AlgorithmParameterSpec getParameterSpec()
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.