pub struct CertificateKeyPair {
pub pk: Uuid,
pub name: String,
pub fingerprint_sha256: Option<String>,
pub fingerprint_sha1: Option<String>,
pub cert_expiry: Option<String>,
pub cert_subject: Option<String>,
pub private_key_available: bool,
pub private_key_type: Option<String>,
pub certificate_download_url: String,
pub private_key_download_url: String,
pub managed: Option<String>,
}
Expand description
CertificateKeyPair : CertificateKeyPair Serializer
Fields§
§pk: Uuid
§name: String
§fingerprint_sha256: Option<String>
Get certificate Hash (SHA256)
fingerprint_sha1: Option<String>
Get certificate Hash (SHA1)
cert_expiry: Option<String>
Get certificate expiry
cert_subject: Option<String>
Get certificate subject as full rfc4514
private_key_available: bool
Show if this keypair has a private key configured or not
private_key_type: Option<String>
Get the private key’s type, if set
certificate_download_url: String
Get URL to download certificate
private_key_download_url: String
Get URL to download private key
managed: Option<String>
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Implementations§
Source§impl CertificateKeyPair
impl CertificateKeyPair
Sourcepub fn new(
pk: Uuid,
name: String,
fingerprint_sha256: Option<String>,
fingerprint_sha1: Option<String>,
cert_expiry: Option<String>,
cert_subject: Option<String>,
private_key_available: bool,
private_key_type: Option<String>,
certificate_download_url: String,
private_key_download_url: String,
managed: Option<String>,
) -> CertificateKeyPair
pub fn new( pk: Uuid, name: String, fingerprint_sha256: Option<String>, fingerprint_sha1: Option<String>, cert_expiry: Option<String>, cert_subject: Option<String>, private_key_available: bool, private_key_type: Option<String>, certificate_download_url: String, private_key_download_url: String, managed: Option<String>, ) -> CertificateKeyPair
CertificateKeyPair Serializer
Trait Implementations§
Source§impl Clone for CertificateKeyPair
impl Clone for CertificateKeyPair
Source§fn clone(&self) -> CertificateKeyPair
fn clone(&self) -> CertificateKeyPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertificateKeyPair
impl Debug for CertificateKeyPair
Source§impl Default for CertificateKeyPair
impl Default for CertificateKeyPair
Source§fn default() -> CertificateKeyPair
fn default() -> CertificateKeyPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateKeyPair
impl<'de> Deserialize<'de> for CertificateKeyPair
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
Source§impl PartialEq for CertificateKeyPair
impl PartialEq for CertificateKeyPair
Source§impl Serialize for CertificateKeyPair
impl Serialize for CertificateKeyPair
impl StructuralPartialEq for CertificateKeyPair
Auto Trait Implementations§
impl Freeze for CertificateKeyPair
impl RefUnwindSafe for CertificateKeyPair
impl Send for CertificateKeyPair
impl Sync for CertificateKeyPair
impl Unpin for CertificateKeyPair
impl UnwindSafe for CertificateKeyPair
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