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

com.founder.sdk.utils.SM2KeyPair Maven / Gradle / Ivy

There is a newer version: 3.6.1.9
Show newest version
package com.founder.sdk.utils;

import org.bouncycastle.math.ec.ECPoint;

import java.math.BigInteger;

public class SM2KeyPair {
    /** 公钥 */
    private ECPoint publicKey;

    /** 私钥 */
    private BigInteger privateKey;

    SM2KeyPair(ECPoint publicKey, BigInteger privateKey) {
        this.publicKey = publicKey;
        this.privateKey = privateKey;
    }

    public ECPoint getPublicKey() {
        return publicKey;
    }

    public BigInteger getPrivateKey() {
        return privateKey;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy