Struct sgx_types::types::Rsa2048Key
source · [−]#[repr(C)]pub struct Rsa2048Key {
pub modulus: [u8; 256],
pub d: [u8; 256],
pub e: [u8; 4],
}
Fields
modulus: [u8; 256]
d: [u8; 256]
e: [u8; 4]
Trait Implementations
sourceimpl AsMut<[u8; 516]> for Rsa2048Key
impl AsMut<[u8; 516]> for Rsa2048Key
sourceimpl AsRef<[u8; 516]> for Rsa2048Key
impl AsRef<[u8; 516]> for Rsa2048Key
sourceimpl Clone for Rsa2048Key
impl Clone for Rsa2048Key
sourcefn clone(&self) -> Rsa2048Key
fn clone(&self) -> Rsa2048Key
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Rsa2048Key
impl Debug for Rsa2048Key
sourceimpl Default for Rsa2048Key
impl Default for Rsa2048Key
sourcefn default() -> Rsa2048Key
fn default() -> Rsa2048Key
Returns the “default value” for a type. Read more
sourceimpl From<&[u8; 516]> for Rsa2048Key
impl From<&[u8; 516]> for Rsa2048Key
sourcefn from(array: &[u8; 516]) -> Rsa2048Key
fn from(array: &[u8; 516]) -> Rsa2048Key
Converts to this type from the input type.
sourceimpl From<[u8; 516]> for Rsa2048Key
impl From<[u8; 516]> for Rsa2048Key
sourcefn from(array: [u8; 516]) -> Rsa2048Key
fn from(array: [u8; 516]) -> Rsa2048Key
Converts to this type from the input type.
sourceimpl From<(Rsa2048PrivKey, Rsa2048PubKey)> for Rsa2048Key
impl From<(Rsa2048PrivKey, Rsa2048PubKey)> for Rsa2048Key
sourcefn from(key_pair: (Rsa2048PrivKey, Rsa2048PubKey)) -> Rsa2048Key
fn from(key_pair: (Rsa2048PrivKey, Rsa2048PubKey)) -> Rsa2048Key
Converts to this type from the input type.
sourceimpl From<Rsa2048Key> for (Rsa2048PrivKey, Rsa2048PubKey)
impl From<Rsa2048Key> for (Rsa2048PrivKey, Rsa2048PubKey)
sourcefn from(key_pair: Rsa2048Key) -> (Rsa2048PrivKey, Rsa2048PubKey)
fn from(key_pair: Rsa2048Key) -> (Rsa2048PrivKey, Rsa2048PubKey)
Converts to this type from the input type.
sourceimpl PartialEq<Rsa2048Key> for Rsa2048Key
impl PartialEq<Rsa2048Key> for Rsa2048Key
sourcefn eq(&self, other: &Rsa2048Key) -> bool
fn eq(&self, other: &Rsa2048Key) -> bool
sourceimpl TryFrom<&[u8]> for Rsa2048Key
impl TryFrom<&[u8]> for Rsa2048Key
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(slice: &[u8]) -> Result<Rsa2048Key, Self::Error>
fn try_from(slice: &[u8]) -> Result<Rsa2048Key, Self::Error>
Performs the conversion.
impl BytewiseEquality for Rsa2048Key
impl ContiguousMemory for Rsa2048Key
impl Copy for Rsa2048Key
impl Eq for Rsa2048Key
impl StructuralEq for Rsa2048Key
impl StructuralPartialEq for Rsa2048Key
Auto Trait Implementations
impl RefUnwindSafe for Rsa2048Key
impl Send for Rsa2048Key
impl Sync for Rsa2048Key
impl Unpin for Rsa2048Key
impl UnwindSafe for Rsa2048Key
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more