pub struct RsaWebKey {
pub cert: Certificate,
pub key_id: Box<str>,
pub key_ops: Box<[KeyOperation]>,
pub key_type: KeyType,
pub use_case: UseCase,
pub exponent: Box<[u8]>,
pub modulus: Box<[u8]>,
}Fields§
§cert: CertificateThe X.509 Certificate
key_id: Box<str>§key_ops: Box<[KeyOperation]>Valid operations the key can perform.
key_type: KeyType§use_case: UseCasePublic Key Use Case (signature or encryption)
exponent: Box<[u8]>A public exponent (Usually 65537) used for encryption and signature verification.
modulus: Box<[u8]>The product of two large prime numbers, forms the main body of the public key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RsaWebKey
impl<'de> Deserialize<'de> for RsaWebKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RsaWebKey
Auto Trait Implementations§
impl Freeze for RsaWebKey
impl RefUnwindSafe for RsaWebKey
impl Send for RsaWebKey
impl Sync for RsaWebKey
impl Unpin for RsaWebKey
impl UnsafeUnpin for RsaWebKey
impl UnwindSafe for RsaWebKey
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