pub struct Credentials {
pub signing_key: Option<PrivateKeyPem>,
pub signing_key_passphrase: Option<Passphrase>,
pub signing_certificate: Option<CertificatePem>,
pub encryption_certificate: Option<CertificatePem>,
pub decryption_key: Option<PrivateKeyPem>,
pub decryption_key_passphrase: Option<Passphrase>,
}Expand description
Secret-bearing and certificate material for local SAML operations.
Fields§
§signing_key: Option<PrivateKeyPem>Signing private key.
signing_key_passphrase: Option<Passphrase>Passphrase for Self::signing_key.
signing_certificate: Option<CertificatePem>Signing certificate.
encryption_certificate: Option<CertificatePem>Encryption certificate advertised for peers.
decryption_key: Option<PrivateKeyPem>Decryption private key for encrypted assertions.
decryption_key_passphrase: Option<Passphrase>Passphrase for Self::decryption_key.
Trait Implementations§
Source§impl Clone for Credentials
impl Clone for Credentials
Source§fn clone(&self) -> Credentials
fn clone(&self) -> Credentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Credentials
impl Debug for Credentials
Source§impl Default for Credentials
impl Default for Credentials
Source§fn default() -> Credentials
fn default() -> Credentials
Returns the “default value” for a type. Read more
impl Eq for Credentials
Source§impl PartialEq for Credentials
impl PartialEq for Credentials
impl StructuralPartialEq for Credentials
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnsafeUnpin for Credentials
impl UnwindSafe for Credentials
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