This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.crypto.spec
class PBEParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec
public class PBEParameterSpec
extends Object
implements AlgorithmParameterSpec
This class specifies the set of parameters used with password-based
encryption (PBE), as defined in the
PKCS #5
standard.
Constructor Summary |
Constructs a parameter set for password-based encryption as defined in
the PKCS #5 standard.
|
Method Summary |
int |
Returns the iteration count.
|
byte[] |
Returns the salt.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBEParameterSpec
public PBEParameterSpec(byte[] salt,
int iterationCount)
-
Constructs a parameter set for password-based encryption as defined in
the PKCS #5 standard.
- Parameters:
salt
- the salt. The contents of salt
are copied
to protect against subsequent modification.
iterationCount
- the iteration count.
getIterationCount
public int getIterationCount()
-
Returns the iteration count.
- Returns:
- the iteration count
getSalt
public byte[] getSalt()
-
Returns the salt.
- Returns:
- the salt. Returns a new array
each time this method is called.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.