pub struct CertificateAttributes {
pub name: Option<String>,
pub certificate_type: Option<CertificateType>,
pub display_name: Option<String>,
pub serial_number: Option<String>,
pub platform: Option<String>,
pub expiration_date: Option<String>,
pub certificate_content: Option<String>,
}Fields§
§name: Option<String>The certificate’s common name, e.g.
Apple Distribution: PT Sigit Mitra Bangun (2TQF86ZACD). This is what
codesign --sign matches when given a name rather than a hash.
certificate_type: Option<CertificateType>§display_name: Option<String>§serial_number: Option<String>§platform: Option<String>§expiration_date: Option<String>ISO-8601. Apple reports this directly, so callers never need to parse the DER to find out when a certificate dies.
certificate_content: Option<String>Base64-encoded DER of the certificate itself (the public half). Absent from some list responses; always present on create.
Trait Implementations§
Source§impl Clone for CertificateAttributes
impl Clone for CertificateAttributes
Source§impl Debug for CertificateAttributes
impl Debug for CertificateAttributes
Source§impl<'de> Deserialize<'de> for CertificateAttributes
impl<'de> Deserialize<'de> for CertificateAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CertificateAttributes
impl RefUnwindSafe for CertificateAttributes
impl Send for CertificateAttributes
impl Sync for CertificateAttributes
impl Unpin for CertificateAttributes
impl UnsafeUnpin for CertificateAttributes
impl UnwindSafe for CertificateAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more