| 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 java.security.spec.AlgorithmParameterSpec; |
| 15 | |
| 16 | /** |
| 17 | * Implementation of AlgorithmParameterSpec that holds the name of a named |
| 18 | * EdDSA curve specification. |
| 19 | * @author str4d |
| 20 | * |
| 21 | */ |
| 22 | public class EdDSAGenParameterSpec implements AlgorithmParameterSpec { |
| 23 | private final String name; |
| 24 | |
| 25 | public EdDSAGenParameterSpec(String stdName) { |
| 26 | name = stdName; |
| 27 | } |
| 28 | |
| 29 | public String getName() { |
| 30 | return name; |
| 31 | } |
| 32 | } |