Initialize all members of KdfParameters with default values
This commit is contained in:
parent
b69a7c585d
commit
7dc0c5e184
|
@ -75,6 +75,13 @@ public abstract class KdfParameters {
|
||||||
|
|
||||||
public Builder() {
|
public Builder() {
|
||||||
hasUsesKdf(false);
|
hasUsesKdf(false);
|
||||||
|
digestAlgorithm(HashType.SHA256);
|
||||||
|
iterations(0);
|
||||||
|
saltPw1(new byte[0]);
|
||||||
|
saltPw2(new byte[0]);
|
||||||
|
saltPw3(new byte[0]);
|
||||||
|
hashUser(new byte[0]);
|
||||||
|
hashAdmin(new byte[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
Builder parseKdfTLVs(Iso7816TLV[] tlvs) throws IOException {
|
Builder parseKdfTLVs(Iso7816TLV[] tlvs) throws IOException {
|
||||||
|
|
Loading…
Reference in a new issue