pub struct WsSecurityConfig {
pub include_timestamp: bool,
pub timestamp_ttl: Duration,
pub sign_message: bool,
pub elements_to_sign: Vec<String>,
pub signing_certificate: Option<Vec<u8>>,
pub signing_private_key: Option<Vec<u8>>,
pub include_certificate: bool,
pub saml_token_endpoint: Option<String>,
pub actor: Option<String>,
}
Expand description
WS-Security configuration
Fields§
§include_timestamp: bool
Whether to include timestamp
timestamp_ttl: Duration
Timestamp TTL
sign_message: bool
Whether to sign the message
elements_to_sign: Vec<String>
Elements to sign (by local name)
signing_certificate: Option<Vec<u8>>
Certificate for signing (PEM format)
signing_private_key: Option<Vec<u8>>
Private key for signing (PEM format)
include_certificate: bool
Whether to include certificate in message
saml_token_endpoint: Option<String>
SAML token provider endpoint
actor: Option<String>
Actor value for delegation scenarios
Trait Implementations§
Source§impl Clone for WsSecurityConfig
impl Clone for WsSecurityConfig
Source§fn clone(&self) -> WsSecurityConfig
fn clone(&self) -> WsSecurityConfig
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 WsSecurityConfig
impl Debug for WsSecurityConfig
Auto Trait Implementations§
impl Freeze for WsSecurityConfig
impl RefUnwindSafe for WsSecurityConfig
impl Send for WsSecurityConfig
impl Sync for WsSecurityConfig
impl Unpin for WsSecurityConfig
impl UnwindSafe for WsSecurityConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more