mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-06-17 00:54:54 +02:00
26 lines
557 B
Java
26 lines
557 B
Java
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package sop.enums;
|
|
|
|
/**
|
|
* Enum referencing relevant signature types.
|
|
*
|
|
* @see <a href="https://www.rfc-editor.org/rfc/rfc4880#section-5.2.1">
|
|
* RFC4880 §5.2.1 - Signature Types</a>
|
|
*/
|
|
public enum SignatureMode {
|
|
/**
|
|
* Signature of a binary document (<pre>0x00</pre>).
|
|
*/
|
|
binary,
|
|
|
|
/**
|
|
* Signature of a canonical text document (<pre>0x01</pre>).
|
|
*/
|
|
text
|
|
|
|
// Other Signature Types are irrelevant.
|
|
}
|