Class DetachedCosignatureDescriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.DetachedCosignatureDescriptor
- All Implemented Interfaces:
SymbolTypedDescriptor,TypedDescriptor
- DetachedCosignatureDescriptor
- Type safe descriptor used to generate a descriptor map for DetachedCosignatureDescriptor. Cosignature detached from an AggregateCompleteTransaction or AggregateBondedTransaction.
-
Constructor Summary
ConstructorsConstructorDescriptionDetachedCosignatureDescriptor(long version, String signerPublicKey, String signature, String parentHash) Creates a descriptor for DetachedCosignature from string-form values.DetachedCosignatureDescriptor(long version, CryptoTypes.PublicKey signerPublicKey, Signature signature, CryptoTypes.Hash256 parentHash) Creates a descriptor for DetachedCosignature. -
Method Summary
-
Constructor Details
-
DetachedCosignatureDescriptor
public DetachedCosignatureDescriptor(long version, CryptoTypes.PublicKey signerPublicKey, Signature signature, CryptoTypes.Hash256 parentHash) Creates a descriptor for DetachedCosignature.- Parameters:
version- Version.signerPublicKey- Cosigner public key.signature- Transaction signature.parentHash- Hash of the AggregateBondedTransaction that is signed by this cosignature.
-
DetachedCosignatureDescriptor
public DetachedCosignatureDescriptor(long version, String signerPublicKey, String signature, String parentHash) Creates a descriptor for DetachedCosignature from string-form values.- Parameters:
version- Version.signerPublicKey- Cosigner public key.signature- Transaction signature.parentHash- Hash of the AggregateBondedTransaction that is signed by this cosignature.
-
-
Method Details
-
toMap
- DetachedCosignatureDescriptor.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.
-