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

io.takamaka.wallet.beans.KeyBean Maven / Gradle / Ivy

/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package io.takamaka.wallet.beans;

import io.takamaka.wallet.utils.KeyContexts;
import java.io.Serializable;

/**
 *
 * @author [email protected]
 */
public class KeyBean implements Serializable {

    private static final long serialVersionUID = 1L;

    private String version = KeyContexts.WALLET_CURRENT_VERSION;
    private String algorithm;
    private KeyContexts.WalletCypher cypher;
    private String seed;
    private String words;

    public KeyBean() {
    }

    public KeyBean(String algorithm, KeyContexts.WalletCypher cypher, String seed, String words) {
        this.algorithm = algorithm;
        this.cypher = cypher;
        this.seed = seed;
        this.words = words;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }

    public KeyContexts.WalletCypher getCypher() {
        return cypher;
    }

    public void setCypher(KeyContexts.WalletCypher cypher) {
        this.cypher = cypher;
    }

    public String getSeed() {
        return seed;
    }

    public void setSeed(String seed) {
        this.seed = seed;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy