[−][src]Struct sardine::srd::Srd
Methods
impl Srd
[src]
pub fn new(is_server: bool) -> Srd
[src]
pub fn authenticate(
&mut self,
input_data: &[u8],
output_data: &mut Vec<u8>
) -> Result<bool>
[src]
&mut self,
input_data: &[u8],
output_data: &mut Vec<u8>
) -> Result<bool>
pub fn get_keys(&self) -> ([u8; 32], [u8; 32])
[src]
pub fn get_delegation_key(&self) -> Vec<u8>
[src]
pub fn get_integrity_key(&self) -> Vec<u8>
[src]
pub fn set_cert_data(&mut self, buffer: Vec<u8>) -> Result<()>
[src]
pub fn get_output_data(&self) -> &Option<Vec<u8>>
[src]
pub fn set_output_data(&mut self, output_data: Vec<u8>)
[src]
impl Srd
[src]
pub fn set_raw_blob(&mut self, blob: SrdBlob)
[src]
impl Srd
[src]
pub fn set_ciphers(&mut self, ciphers: Vec<Cipher>) -> Result<()>
[src]
pub fn get_blob<T: Blob>(&self) -> Result<Option<T>>
[src]
pub fn set_blob<T: Blob>(&mut self, blob: T) -> Result<()>
[src]
pub fn get_raw_blob(&self) -> Option<SrdBlob>
[src]
Auto Trait Implementations
impl Send for Srd
impl Sync for Srd
impl Unpin for Srd
impl UnwindSafe for Srd
impl RefUnwindSafe for Srd
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,