Class MultisigSignature

    • Constructor Detail

      • MultisigSignature

        public MultisigSignature​(int version,
                                 int threshold,
                                 List<MultisigSignature.MultisigSubsig> subsigs)
        create a multisig signature.
        Parameters:
        version - required
        threshold - required
        subsigs - can be empty, or null
      • MultisigSignature

        public MultisigSignature​(int version,
                                 int threshold)
      • MultisigSignature

        public MultisigSignature()
    • Method Detail

      • verify

        public boolean verify​(byte[] message)
        Performs signature verification
        Parameters:
        message - raw message to verify
        Returns:
        boolean
        Throws:
        IllegalStateException - on verification error
      • convertToMultisigAddress

        public MultisigAddress convertToMultisigAddress()