public class PKCS12KeyWithParameters extends PKCS12Key implements PBEKey
serialVersionUID
Constructor and Description |
---|
PKCS12KeyWithParameters(char[] password,
byte[] salt,
int iterationCount)
Basic constructor for a password based key with generation parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getIterationCount() |
byte[] |
getSalt() |
getAlgorithm, getEncoded, getFormat, getPassword
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPassword
getAlgorithm, getEncoded, getFormat
destroy, isDestroyed
public PKCS12KeyWithParameters(char[] password, byte[] salt, int iterationCount)
password
- password to use.salt
- salt for generation algorithmiterationCount
- iteration count for generation algorithm.public int getIterationCount()
getIterationCount
in interface PBEKey
Copyright © 2016 BouncyCastle.org. All rights reserved.