1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-17 00:54:50 +02:00
pgpainless/pgpainless-core/src/main/java/org/pgpainless/algorithm/EncryptionPurpose.java

23 lines
514 B
Java
Raw Normal View History

2021-10-07 15:48:52 +02:00
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
2021-05-27 15:52:43 +02:00
package org.pgpainless.algorithm;
public enum EncryptionPurpose {
/**
* The stream will encrypt communication that goes over the wire.
2021-12-28 13:53:25 +01:00
* E.g. EMail, Chat...
2021-05-27 15:52:43 +02:00
*/
COMMUNICATIONS,
/**
* The stream will encrypt data at rest.
2021-12-28 13:53:25 +01:00
* E.g. Encrypted backup...
2021-05-27 15:52:43 +02:00
*/
STORAGE,
/**
* The stream will use keys with either flags to encrypt the data.
*/
ANY
2021-05-27 15:52:43 +02:00
}