Package com.algorand.algosdk.crypto
Class MultisigAddress
- java.lang.Object
-
- com.algorand.algosdk.crypto.MultisigAddress
-
- All Implemented Interfaces:
Serializable
public class MultisigAddress extends Object implements Serializable
MultisigAddress is a convenience class for handling multisignature public identities.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description List<Ed25519PublicKey>
publicKeys
int
threshold
int
version
-
Constructor Summary
Constructors Constructor Description MultisigAddress(int version, int threshold, List<Ed25519PublicKey> publicKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
TxnSigner
getTransactionSigner(byte[][] sks)
int
hashCode()
Address
toAddress()
Convert into an address to more easily represent as a string.String
toString()
-
-
-
Field Detail
-
version
public final int version
-
threshold
public final int threshold
-
publicKeys
public final List<Ed25519PublicKey> publicKeys
-
-
Constructor Detail
-
MultisigAddress
public MultisigAddress(int version, int threshold, List<Ed25519PublicKey> publicKeys)
-
-
Method Detail
-
toAddress
public Address toAddress() throws NoSuchAlgorithmException
Convert into an address to more easily represent as a string.- Returns:
- Throws:
NoSuchAlgorithmException
-
getTransactionSigner
public TxnSigner getTransactionSigner(byte[][] sks) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
-