Kotlin conversion: InlineSignAs
This commit is contained in:
parent
1c290e0c8f
commit
be6be3deac
|
@ -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,
|
|
||||||
}
|
|
||||||
|
|
|
@ -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 New Issue