Struct security_framework::import_export::ImportedIdentity
[−]
[src]
pub struct ImportedIdentity {
pub label: String,
pub key_id: Vec<u8>,
pub trust: SecTrust,
pub cert_chain: Vec<SecCertificate>,
pub identity: SecIdentity,
// some fields omitted
}Information about an imported identity.
Fields
label: String
The label of the identity.
key_id: Vec<u8>
The ID of the identity. Typically the SHA-1 hash of the public key.
trust: SecTrust
A SecTrust object set up to validate this identity.
cert_chain: Vec<SecCertificate>
A certificate chain validating this identity.
identity: SecIdentity
The identity itself.