All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.crldev.elrondspringbootstarterreactive.domain.transaction.Signable Maven / Gradle / Ivy

Go to download

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