Package nxt.crypto

Class SerializedMasterPublicKey

java.lang.Object
nxt.crypto.SerializedMasterPublicKey

public class SerializedMasterPublicKey extends Object
Combination of a BIP32 Master Public Key + Chain Code along with a CRC32 checksum.
  • 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()