mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-29 10:32:08 +01:00
Document SignatureMode
This commit is contained in:
parent
d838e9589b
commit
360f2fba02
1 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue