aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveGenParameterSpec.java
blob: 2b1d040410afa8e62101a1fcead723a5a3596976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package org.spongycastle.jce.spec;

import java.security.spec.AlgorithmParameterSpec;

/**
 * Named curve generation spec
 * <p>
 * If you are using JDK 1.5 you should be looking at ECGenParameterSpec.
 */
public class ECNamedCurveGenParameterSpec
    implements AlgorithmParameterSpec
{
    private String  name;

    public ECNamedCurveGenParameterSpec(
        String name)
    {
        this.name = name;
    }

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