reallyme-codec-pem 0.1.9

PEM text armor parsing and encoding for ReallyMe Codec.
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

use zeroize::Zeroizing;

use crate::PemLabel;

/// A decoded PEM document.
pub struct PemDocument {
    /// The exact label from the BEGIN/END boundaries.
    pub label: PemLabel,
    /// The decoded DER payload.
    pub der: Zeroizing<Vec<u8>>,
}