1package org.bouncycastle.jce.spec; 2 3import java.security.spec.AlgorithmParameterSpec; 4 5/** 6 * Named curve generation spec 7 * <p> 8 * If you are using JDK 1.5 you should be looking at ECGenParameterSpec. 9 */ 10public class ECNamedCurveGenParameterSpec 11 implements AlgorithmParameterSpec 12{ 13 private String name; 14 15 public ECNamedCurveGenParameterSpec( 16 String name) 17 { 18 this.name = name; 19 } 20 21 /** 22 * return the name of the curve the EC domain parameters belong to. 23 */ 24 public String getName() 25 { 26 return name; 27 } 28} 29