mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-26 00:52:07 +01:00
Kotlin conversion: InlineSignAs
This commit is contained in:
parent
1c290e0c8f
commit
be6be3deac
2 changed files with 17 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
|||
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package sop.enums;
|
||||
|
||||
public enum InlineSignAs {
|
||||
|
||||
/**
|
||||
* Signature is made over the binary message.
|
||||
*/
|
||||
binary,
|
||||
|
||||
/**
|
||||
* Signature is made over the message in text mode.
|
||||
*/
|
||||
text,
|
||||
|
||||
/**
|
||||
* Signature is made using the Cleartext Signature Framework.
|
||||
*/
|
||||
clearsigned,
|
||||
}
|
||||
|
17
sop-java/src/main/kotlin/sop/enums/InlineSignAs.kt
Normal file
17
sop-java/src/main/kotlin/sop/enums/InlineSignAs.kt
Normal file
|
@ -0,0 +1,17 @@
|
|||
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package sop.enums
|
||||
|
||||
enum class InlineSignAs {
|
||||
|
||||
/** Signature is made over the binary message. */
|
||||
binary,
|
||||
|
||||
/** Signature is made over the message in text mode. */
|
||||
text,
|
||||
|
||||
/** Signature is made using the Cleartext Signature Framework. */
|
||||
clearsigned
|
||||
}
|
Loading…
Reference in a new issue