sop-java/sop-java/src/main/java/sop/enums/SignAs.java

24 lines
420 B
Java
Raw Normal View History

2022-01-11 13:46:05 +01:00
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
package sop.enums;
public enum SignAs {
2022-05-24 21:07:50 +02:00
/**
* Signature is made over the binary message.
*/
2022-01-11 13:46:05 +01:00
Binary,
2022-05-24 21:07:50 +02:00
/**
* Signature is made over the message in text mode.
*/
Text,
;
@Override
public String toString() {
return super.toString().toLowerCase();
}
2022-01-11 13:46:05 +01:00
}