Function ring::pkcs8::wrap_key_

source ·
fn wrap_key_(
    template: &Template,
    private_key: &[u8],
    public_key: &[u8],
    bytes: &mut [u8],
)
Expand description

Formats a private key “prefix||private_key||middle||public_key” where template is “prefix||middle” split at position private_key_index.