security-framework 0.1.8

Security Framework bindings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Encryption key support

use security_framework_sys::base::SecKeyRef;
use security_framework_sys::key::SecKeyGetTypeID;
use std::fmt;

make_wrapper! {
    /// A type representing an encryption key.
    struct SecKey, SecKeyRef, SecKeyGetTypeID
}

// FIXME
impl fmt::Debug for SecKey {
    fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
        write!(fmt, "SecKey")
    }
}