Kotlin conversion: KeyLength

This commit is contained in:
Paul Schaub 2023-09-07 14:32:49 +02:00
parent 0b071ff8e1
commit 1ebf8e1e6f
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
2 changed files with 10 additions and 10 deletions

View File

@ -1,10 +0,0 @@
// SPDX-FileCopyrightText: 2018 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.pgpainless.key.generation.type;
public interface KeyLength {
int getLength();
}

View File

@ -0,0 +1,10 @@
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.pgpainless.key.generation.type
interface KeyLength {
fun getLength(): Int
}