#[repr(C)]pub struct UA_SecurityPolicySignatureAlgorithm {
pub uri: UA_String,
pub verify: Option<unsafe extern "C" fn(channelContext: *mut c_void, message: *const UA_ByteString, signature: *const UA_ByteString) -> UA_StatusCode>,
pub sign: Option<unsafe extern "C" fn(channelContext: *mut c_void, message: *const UA_ByteString, signature: *mut UA_ByteString) -> UA_StatusCode>,
pub getLocalSignatureSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getRemoteSignatureSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getLocalKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getRemoteKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
}Fields§
§uri: UA_String§verify: Option<unsafe extern "C" fn(channelContext: *mut c_void, message: *const UA_ByteString, signature: *const UA_ByteString) -> UA_StatusCode>§sign: Option<unsafe extern "C" fn(channelContext: *mut c_void, message: *const UA_ByteString, signature: *mut UA_ByteString) -> UA_StatusCode>§getLocalSignatureSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getRemoteSignatureSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getLocalKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getRemoteKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>Trait Implementations§
Source§impl Clone for UA_SecurityPolicySignatureAlgorithm
impl Clone for UA_SecurityPolicySignatureAlgorithm
Source§fn clone(&self) -> UA_SecurityPolicySignatureAlgorithm
fn clone(&self) -> UA_SecurityPolicySignatureAlgorithm
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 moreimpl Copy for UA_SecurityPolicySignatureAlgorithm
Auto Trait Implementations§
impl Freeze for UA_SecurityPolicySignatureAlgorithm
impl RefUnwindSafe for UA_SecurityPolicySignatureAlgorithm
impl !Send for UA_SecurityPolicySignatureAlgorithm
impl !Sync for UA_SecurityPolicySignatureAlgorithm
impl Unpin for UA_SecurityPolicySignatureAlgorithm
impl UnwindSafe for UA_SecurityPolicySignatureAlgorithm
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