From eb94aa6063a059be5a26ffd88c3ddc820f0e741b Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Fri, 4 Aug 2023 17:03:22 +0200 Subject: [PATCH] Kotlin conversion: EncryptionPurpose --- .../{EncryptionPurpose.java => EncryptionPurpose.kt} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename pgpainless-core/src/main/java/org/pgpainless/algorithm/{EncryptionPurpose.java => EncryptionPurpose.kt} (74%) diff --git a/pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.java b/pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.kt similarity index 74% rename from pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.java rename to pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.kt index 5eda30c0..f7e5ce2d 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.java +++ b/pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.kt @@ -1,10 +1,10 @@ -// SPDX-FileCopyrightText: 2021 Paul Schaub +// SPDX-FileCopyrightText: 2023 Paul Schaub // // SPDX-License-Identifier: Apache-2.0 -package org.pgpainless.algorithm; +package org.pgpainless.algorithm -public enum EncryptionPurpose { +enum class EncryptionPurpose { /** * The stream will encrypt communication that goes over the wire. * E.g. EMail, Chat... @@ -19,4 +19,4 @@ public enum EncryptionPurpose { * The stream will use keys with either flags to encrypt the data. */ ANY -} +} \ No newline at end of file