pub struct RsaKeypair { /* private fields */ }Implementations§
Source§impl RsaKeypair
impl RsaKeypair
pub fn private_key(&self) -> Rc<RsaPrivateKey>
Trait Implementations§
Source§impl Clone for RsaKeypair
impl Clone for RsaKeypair
Source§impl KeyType for RsaKeypair
impl KeyType for RsaKeypair
fn new(max_size: u32) -> TeeResult<Self>
fn is_valid_size(size: u32) -> bool
fn size(&self) -> u32
fn max_size(&self) -> u32
fn buffer_attribute(&self, id: AttributeId) -> Option<BufferAttribute<'_>>
fn reset(&mut self)
fn populate(&mut self, attributes: &[Attribute]) -> TeeResult
fn generate(&mut self, size: u32, params: &[Attribute]) -> TeeResult
fn value_attribute(&self, _id: AttributeId) -> Option<ValueFields>
Auto Trait Implementations§
impl Freeze for RsaKeypair
impl RefUnwindSafe for RsaKeypair
impl !Send for RsaKeypair
impl !Sync for RsaKeypair
impl Unpin for RsaKeypair
impl UnsafeUnpin for RsaKeypair
impl UnwindSafe for RsaKeypair
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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