Class CosignatureDescriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.CosignatureDescriptor
- All Implemented Interfaces:
SymbolTypedDescriptor,TypedDescriptor
- CosignatureDescriptor
- Type safe descriptor used to generate a descriptor map for CosignatureDescriptor. Cosignature attached to an AggregateCompleteTransaction or AggregateBondedTransaction.
-
Constructor Summary
ConstructorsConstructorDescriptionCosignatureDescriptor(long version, String signerPublicKey, String signature) Creates a descriptor for Cosignature from string-form values.CosignatureDescriptor(long version, CryptoTypes.PublicKey signerPublicKey, Signature signature) Creates a descriptor for Cosignature. -
Method Summary
-
Constructor Details
-
CosignatureDescriptor
public CosignatureDescriptor(long version, CryptoTypes.PublicKey signerPublicKey, Signature signature) Creates a descriptor for Cosignature.- Parameters:
version- Version.signerPublicKey- Cosigner public key.signature- Transaction signature.
-
CosignatureDescriptor
Creates a descriptor for Cosignature from string-form values.- Parameters:
version- Version.signerPublicKey- Cosigner public key.signature- Transaction signature.
-
-
Method Details
-
toMap
- CosignatureDescriptor.toMap
- Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
- Descriptor map that can be passed to a transaction factory.
-