public class PBEKeySpec extends java.lang.Object implements KeySpec
Title: PBEKeySpec
Description: PKCS#5 'de tanimlanmis PBKDF2 icin gerekli parametreleri tutan siniftir.
Copyright: Copyright (c) 2004
Company: Tubitak UEKAE
Constructor and Description |
---|
PBEKeySpec(char[] aPassword)
PBEKey objesini olusturur.
|
PBEKeySpec(char[] aPassword,
byte[] aSalt)
PBEKey objesini olusturur.
|
PBEKeySpec(char[] aPassword,
byte[] aSalt,
int aIterationCount)
PBEKey objesini olusturur.
|
PBEKeySpec(char[] aPassword,
byte[] aSalt,
int aIterationCount,
int aKeyLength)
PBEKeySpec objesini olusturur.
|
PBEKeySpec(char[] aPassword,
byte[] aSalt,
int aIterationCount,
int aKeyLength,
DigestAlg aDigestAlg)
PBEKeySpec objesini olusturur.
|
PBEKeySpec(char[] aPassword,
int aIterationCount)
PBEKey objesini olusturur.
|
Modifier and Type | Method and Description |
---|---|
DigestAlg |
getDigestAlg() |
int |
getIterationCount()
IterationCount'u donduren metodtor.
|
int |
getKeyLength()
Anahtarin uzunlugunu donduren metodtur.
|
char[] |
getPassword()
Passwordu donduren metodtur.
|
byte[] |
getSalt()
Salt'i donduren metodtur.
|
void |
setKeyLength(int aKeyLength)
Anahtarin uzunlugunu belirleyen metodtur.
|
public PBEKeySpec(char[] aPassword) throws ArgErrorException
aPassword
- PasswordArgErrorException
public PBEKeySpec(char[] aPassword, byte[] aSalt) throws ArgErrorException
aPassword
- PasswordaSalt
- SaltArgErrorException
public PBEKeySpec(char[] aPassword, int aIterationCount) throws ArgErrorException
aPassword
- PasswordaIterationCount
- IterationCountArgErrorException
public PBEKeySpec(char[] aPassword, byte[] aSalt, int aIterationCount) throws ArgErrorException
aPassword
- PasswordaSalt
- SaltaIterationCount
- Iteration sayisiArgErrorException
public PBEKeySpec(char[] aPassword, byte[] aSalt, int aIterationCount, int aKeyLength) throws ArgErrorException
aPassword
- PasswordaSalt
- SaltaIterationCount
- Iteration sayisiaKeyLength
- Anahtarin uzunluguArgErrorException
public PBEKeySpec(char[] aPassword, byte[] aSalt, int aIterationCount, int aKeyLength, DigestAlg aDigestAlg) throws ArgErrorException
aPassword
- PasswordaSalt
- SaltaIterationCount
- Iteration sayisiaKeyLength
- Anahtarin uzunluguArgErrorException
public char[] getPassword()
public byte[] getSalt()
public int getIterationCount()
public DigestAlg getDigestAlg()
public int getKeyLength()
public void setKeyLength(int aKeyLength)
aKeyLength
- Anahtarin uzunluguCopyright © 2025. All rights reserved.