
software.crldev.elrondspringbootstarterreactive.domain.transaction.Signable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elrond-spring-boot-starter-reactive Show documentation
Show all versions of elrond-spring-boot-starter-reactive Show documentation
A SpringBoot Starter solution designed to ensure easy and efficient integration with the Elrond Network using a Reactive API layer.
The newest version!
package software.crldev.elrondspringbootstarterreactive.domain.transaction;
import com.fasterxml.jackson.core.JsonProcessingException;
/**
* An Interface describing the behaviour
* of a signable component by an wallet
*
*/
public interface Signable {
/**
* Method used for serializing the object
* in a JSON buffer to be ready for signing by a wallet
*
* @return - JSON buffer
* @throws - JsonProcessingException
*/
byte[] serializeForSigning() throws JsonProcessingException;
/**
* Method used for applying signature to Signable object
*
* @param signature - input for applying
*/
void applySignature(Signature signature);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy