Document SignatureMode

This commit is contained in:
Paul Schaub 2023-04-17 13:56:43 +02:00
parent d838e9589b
commit 360f2fba02
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -4,7 +4,22 @@
package sop.enums; 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 { public enum SignatureMode {
/**
* Signature of a binary document (<pre>0x00</pre>).
*/
binary, binary,
/**
* Signature of a canonical text document (<pre>0x01</pre>).
*/
text text
// Other Signature Types are irrelevant.
} }