com.fitbur.bouncycastle.crypto.params.ECNamedDomainParameters Maven / Gradle / Ivy
package com.fitbur.bouncycastle.crypto.params;
import java.math.BigInteger;
import com.fitbur.bouncycastle.asn1.ASN1ObjectIdentifier;
import com.fitbur.bouncycastle.math.ec.ECCurve;
import com.fitbur.bouncycastle.math.ec.ECPoint;
public class ECNamedDomainParameters
extends ECDomainParameters
{
private ASN1ObjectIdentifier name;
public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n)
{
this(name, curve, G, n, null, null);
}
public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h)
{
this(name, curve, G, n, h, null);
}
public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed)
{
super(curve, G, n, h, seed);
this.name = name;
}
public ASN1ObjectIdentifier getName()
{
return name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy