add device registration field to store ledger multisig hmacs

This commit is contained in:
Craig Raw 2025-01-22 16:24:43 +02:00
parent 0df1f79e5c
commit f67a2caf53

View file

@ -28,6 +28,7 @@ public class Keystore extends Persistable {
private KeyDerivation keyDerivation; private KeyDerivation keyDerivation;
private ExtendedKey extendedPublicKey; private ExtendedKey extendedPublicKey;
private PaymentCode externalPaymentCode; private PaymentCode externalPaymentCode;
private byte[] deviceRegistration;
private MasterPrivateExtendedKey masterPrivateExtendedKey; private MasterPrivateExtendedKey masterPrivateExtendedKey;
private DeterministicSeed seed; private DeterministicSeed seed;
@ -102,6 +103,14 @@ public class Keystore extends Persistable {
this.externalPaymentCode = paymentCode; this.externalPaymentCode = paymentCode;
} }
public byte[] getDeviceRegistration() {
return deviceRegistration;
}
public void setDeviceRegistration(byte[] deviceRegistration) {
this.deviceRegistration = deviceRegistration;
}
public boolean hasMasterPrivateExtendedKey() { public boolean hasMasterPrivateExtendedKey() {
return masterPrivateExtendedKey != null; return masterPrivateExtendedKey != null;
} }