pub struct SessionCertificate {
pub value: String,
pub certificate_level: CertificateLevel,
}Expand description
Session Certificate
This struct represents the certificate used in a session with the Smart ID service. During an auth flow a certificate that is non-repudiation capable is returned, for signing flows a certificate that is digital signature capable is returned.
§Properties
value- The certificate value, DER+Base64 encoded. The certificate itself contains info on whether the certificate is QSCD-enabled, data which is not represented by certificate level.certificate_level- The level of the certificate.
Fields§
§value: String§certificate_level: CertificateLevelTrait Implementations§
Source§impl Clone for SessionCertificate
impl Clone for SessionCertificate
Source§fn clone(&self) -> SessionCertificate
fn clone(&self) -> SessionCertificate
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 SessionCertificate
impl Debug for SessionCertificate
Source§impl Default for SessionCertificate
impl Default for SessionCertificate
Source§fn default() -> SessionCertificate
fn default() -> SessionCertificate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCertificate
impl<'de> Deserialize<'de> for SessionCertificate
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 SessionCertificate
impl PartialEq for SessionCertificate
Source§impl Serialize for SessionCertificate
impl Serialize for SessionCertificate
impl StructuralPartialEq for SessionCertificate
Auto Trait Implementations§
impl Freeze for SessionCertificate
impl RefUnwindSafe for SessionCertificate
impl Send for SessionCertificate
impl Sync for SessionCertificate
impl Unpin for SessionCertificate
impl UnsafeUnpin for SessionCertificate
impl UnwindSafe for SessionCertificate
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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