Debian Codegraph @

ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSANamedCurveSpec.java

raw symbols SCIP
1 /**
2 * EdDSA-Java by str4d
3 *
4 * To the extent possible under law, the person who associated CC0 with
5 * EdDSA-Java has waived all copyright and related or neighboring rights
6 * to EdDSA-Java.
7 *
8 * You should have received a copy of the CC0 legalcode along with this
9 * work. If not, see <https://creativecommons.org/publicdomain/zero/1.0/>.
10 *
11 */
12 package net.i2p.crypto.eddsa.spec;
13
14 import net.i2p.crypto.eddsa.math.Curve;
15 import net.i2p.crypto.eddsa.math.GroupElement;
16 import net.i2p.crypto.eddsa.math.ScalarOps;
17
18 /**
19 * EdDSA Curve specification that can also be referred to by name.
20 * @author str4d
21 *
22 */
23 public class EdDSANamedCurveSpec extends EdDSAParameterSpec {
24 private final String name;
25
26 public EdDSANamedCurveSpec(String name, Curve curve,
27 String hashAlgo, ScalarOps sc, GroupElement B) {
28 super(curve, hashAlgo, sc, B);
29 this.name = name;
30 }
31
32 public String getName() {
33 return name;
34 }
35 }