Package nxt.crypto
Class SerializedMasterPublicKey
java.lang.Object
nxt.crypto.SerializedMasterPublicKey
Combination of a BIP32 Master Public Key + Chain Code along with a CRC32 checksum.
-
Constructor Summary
ConstructorsConstructorDescriptionSerializedMasterPublicKey(byte[] serializedMasterPublicKey) SerializedMasterPublicKey(byte[] masterPublicKey, byte[] chainCode) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]byte[]static booleanisValidSerializedMasterPublicKey(byte[] serializedMasterPublicKey)
-
Constructor Details
-
SerializedMasterPublicKey
public SerializedMasterPublicKey(byte[] serializedMasterPublicKey) -
SerializedMasterPublicKey
public SerializedMasterPublicKey(byte[] masterPublicKey, byte[] chainCode)
-
-
Method Details
-
isValidSerializedMasterPublicKey
public static boolean isValidSerializedMasterPublicKey(byte[] serializedMasterPublicKey) -
getSerializedMasterPublicKey
public byte[] getSerializedMasterPublicKey() -
getMasterPublicKey
public byte[] getMasterPublicKey() -
getChainCode
public byte[] getChainCode()
-