⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ecnamedcurveparameterspec.java

📁 这是一个基于java编写的torrent的P2P源码
💻 JAVA
字号:
package org.bouncycastle.jce.spec;

import java.math.BigInteger;

import org.bouncycastle.math.ec.ECCurve;
import org.bouncycastle.math.ec.ECPoint;

/**
 * specification signifying that the curve parameters can also be
 * refered to by name.
 */
public class ECNamedCurveParameterSpec
	extends ECParameterSpec
{
    private String  name;

	public ECNamedCurveParameterSpec(
        String      name,
		ECCurve     curve,
		ECPoint     G,
		BigInteger  n)
	{
        super(curve, G, n);

        this.name = name;
	}

	public ECNamedCurveParameterSpec(
        String      name,
		ECCurve     curve,
		ECPoint     G,
		BigInteger  n,
        BigInteger  h)
	{
        super(curve, G, n, h);

        this.name = name;
	}

	public ECNamedCurveParameterSpec(
        String      name,
		ECCurve     curve,
		ECPoint     G,
		BigInteger  n,
        BigInteger  h,
        byte[]      seed)
	{
        super(curve, G, n, h, seed);

        this.name = name;
	}

    /**
     * return the name of the curve the EC domain parameters belong to.
     */
	public String getName()
	{
		return name;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -