mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 10:49:39 +02:00
Kotlin conversion: EdDSACurve
This commit is contained in:
parent
89b73895f5
commit
8f49b01d51
2 changed files with 14 additions and 28 deletions
|
@ -0,0 +1,14 @@
|
|||
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package org.pgpainless.key.generation.type.eddsa
|
||||
|
||||
enum class EdDSACurve(
|
||||
val curveName: String,
|
||||
val bitStrength: Int) {
|
||||
_Ed25519("ed25519", 256),
|
||||
;
|
||||
|
||||
fun getName() = curveName
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue