reallyme-crypto 0.3.2

Cross-platform cryptographic primitives, key formats, and conformance-tested provider bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
//
// SPDX-License-Identifier: Apache-2.0

/// Whether material may cross the operation boundary.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
pub enum ExportPolicy {
    /// Public or ciphertext material may be returned without restriction.
    Public,
    /// Secret bytes may be returned only through an explicitly secret owner.
    SecretOwnerRequired,
    /// Provider-resident material must not be exported as raw bytes.
    NonExportable,
}