Struct security_framework::import_export::ImportedIdentity
source · [−]pub struct ImportedIdentity {
pub label: Option<String>,
pub key_id: Option<Vec<u8>>,
pub trust: Option<SecTrust>,
pub cert_chain: Option<Vec<SecCertificate>>,
pub identity: Option<SecIdentity>,
/* private fields */
}
Expand description
Information about an imported identity.
Fields
label: Option<String>
The label of the identity.
key_id: Option<Vec<u8>>
The ID of the identity. Typically the SHA-1 hash of the public key.
trust: Option<SecTrust>
A SecTrust
object set up to validate this identity.
cert_chain: Option<Vec<SecCertificate>>
A certificate chain validating this identity.
identity: Option<SecIdentity>
The identity itself.
Auto Trait Implementations
impl RefUnwindSafe for ImportedIdentity
impl Send for ImportedIdentity
impl Sync for ImportedIdentity
impl Unpin for ImportedIdentity
impl UnwindSafe for ImportedIdentity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more