public class PBEParameterSpec extends Object implements AlgorithmParameterSpec
Constructor and Description |
---|
PBEParameterSpec(byte[] salt,
int iterationCount)
Constructs a parameter set for password-based encryption as defined in
the PKCS #5 standard.
|
public PBEParameterSpec(byte[] salt, int iterationCount)
salt
- the salt. The contents of salt
are copied
to protect against subsequent modification.iterationCount
- the iteration count.NullPointerException
- if salt
is null. 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, 2015, Oracle and/or its affiliates. All rights reserved.