reallyme_crypto/secret_material/output.rs
1// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
2//
3// SPDX-License-Identifier: Apache-2.0
4
5/// Security-relevant class of an operation result.
6#[derive(Debug, Clone, Copy, PartialEq, Eq)]
7#[non_exhaustive]
8pub enum OutputMaterial {
9 /// Digest, signature, public key, boolean, or other public result.
10 Public,
11 /// Ciphertext or wrapped material that remains privacy-sensitive.
12 SensitivePublic,
13 /// A private key, plaintext, shared secret, derived key, or seed.
14 Secret,
15 /// A structured result containing both public and secret fields.
16 Mixed,
17}