001// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
002//
003// SPDX-License-Identifier: Apache-2.0
004
005package org.pgpainless.algorithm;
006
007public enum EncryptionPurpose {
008    /**
009     * The stream will encrypt communication that goes over the wire.
010     * E.g. EMail, Chat...
011     */
012    COMMUNICATIONS,
013    /**
014     * The stream will encrypt data at rest.
015     * E.g. Encrypted backup...
016     */
017    STORAGE,
018    /**
019     * The stream will use keys with either flags to encrypt the data.
020     */
021    ANY
022}