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>publicKeysintthresholdintversion
-
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 booleanequals(Object o)TxnSignergetTransactionSigner(byte[][] sks)inthashCode()AddresstoAddress()Convert into an address to more easily represent as a string.StringtoString()
-
-
-
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
-
-