Package com.yubico.yubikit.openpgp
Class Kdf.IterSaltedS2k
java.lang.Object
com.yubico.yubikit.openpgp.Kdf
com.yubico.yubikit.openpgp.Kdf.IterSaltedS2k
- Enclosing class:
- Kdf
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.yubico.yubikit.openpgp.Kdf
Kdf.IterSaltedS2k, Kdf.None -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionIterSaltedS2k(Kdf.IterSaltedS2k.HashAlgorithm hashAlgorithm, int iterationCount, byte[] saltUser, byte @Nullable [] saltReset, byte @Nullable [] saltAdmin, byte @Nullable [] initialHashUser, byte @Nullable [] initialHashAdmin) -
Method Summary
Modifier and TypeMethodDescriptionstatic Kdf.IterSaltedS2kcreate(Kdf.IterSaltedS2k.HashAlgorithm hashAlgorithm, int iterationCount) byte[]getBytes()byte[]Methods inherited from class com.yubico.yubikit.openpgp.Kdf
getAlgorithm, parse
-
Constructor Details
-
IterSaltedS2k
public IterSaltedS2k(Kdf.IterSaltedS2k.HashAlgorithm hashAlgorithm, int iterationCount, byte[] saltUser, byte @Nullable [] saltReset, byte @Nullable [] saltAdmin, byte @Nullable [] initialHashUser, byte @Nullable [] initialHashAdmin)
-
-
Method Details
-
process
-
getBytes
public byte[] getBytes() -
create
public static Kdf.IterSaltedS2k create(Kdf.IterSaltedS2k.HashAlgorithm hashAlgorithm, int iterationCount)
-