pub enum TeePubKey {
RSA {
alg: String,
k_mod: String,
k_exp: String,
},
EC {
crv: String,
alg: String,
x: String,
y: String,
},
AKP {
alg: String,
public_key: String,
},
}Variants§
RSA
EC
Elliptic Curve Keys fields defined in RFC 7518 Section 6.1
AKP
Algorithm Key Pair (AKP) key type for PQC algorithm support as per draft-ietf-jose-pqc-kem-05
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TeePubKey
impl<'de> Deserialize<'de> for TeePubKey
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
Auto Trait Implementations§
impl Freeze for TeePubKey
impl RefUnwindSafe for TeePubKey
impl Send for TeePubKey
impl Sync for TeePubKey
impl Unpin for TeePubKey
impl UnsafeUnpin for TeePubKey
impl UnwindSafe for TeePubKey
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