Struct libmaj::key_mgr::key_file::KeyFile [] [src]

pub struct KeyFile { /* fields omitted */ }

The key file contains the (private) data to sign The key file data must be encrypted when at rest API is designed so that secret data do not leak

Methods

impl KeyFile
[src]

Create a new key file. A pk (ECC) key pair.

Sign data with a pk private key. Ensure authenticity, not integrity.

Get the public key for the pk signature verification

Trait Implementations

impl Debug for KeyFile
[src]

Formats the value using the given formatter.

impl Clone for KeyFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more