diff --git a/pgpainless-core/src/main/java/org/pgpainless/algorithm/DocumentSignatureType.java b/pgpainless-core/src/main/java/org/pgpainless/algorithm/DocumentSignatureType.java index 20b3da38..09ec321d 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/algorithm/DocumentSignatureType.java +++ b/pgpainless-core/src/main/java/org/pgpainless/algorithm/DocumentSignatureType.java @@ -15,10 +15,22 @@ */ package org.pgpainless.algorithm; +/** + * Subset of {@link SignatureType}, used for signatures over documents. + */ public enum DocumentSignatureType { + /** + * Signature is calculated over the unchanged binary data. + */ BINARY_DOCUMENT(SignatureType.BINARY_DOCUMENT), + /** + * The signature is calculated over the text data with its line endings converted to + *
+ * {@code <CR><LF>} + *. + */ CANONICAL_TEXT_DOCUMENT(SignatureType.CANONICAL_TEXT_DOCUMENT), ;