pgpainless/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/type/xdh_legacy/XDHLegacySpec.kt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
350 B
Kotlin
Raw Normal View History

2023-09-07 15:26:24 +02:00
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
2024-02-21 15:19:33 +01:00
package org.pgpainless.key.generation.type.xdh_legacy
2023-09-07 15:26:24 +02:00
2024-02-21 15:19:33 +01:00
enum class XDHLegacySpec(val algorithmName: String, val curveName: String, val bitStrength: Int) {
2023-09-07 15:26:24 +02:00
_X25519("X25519", "curve25519", 256),
;
fun getName() = algorithmName
}