pub struct AllowedKeyType {
pub elliptic_curve: Option<EcKeyType>,
pub rsa: Option<RsaKeyType>,
}Expand description
Describes a “type” of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.
This type is not used in any activity, and only used as part of another schema.
Fields§
§elliptic_curve: Option<EcKeyType>Represents an allowed Elliptic Curve key type.
rsa: Option<RsaKeyType>Represents an allowed RSA key type.
Trait Implementations§
Source§impl Clone for AllowedKeyType
impl Clone for AllowedKeyType
Source§fn clone(&self) -> AllowedKeyType
fn clone(&self) -> AllowedKeyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllowedKeyType
impl Debug for AllowedKeyType
Source§impl Default for AllowedKeyType
impl Default for AllowedKeyType
Source§fn default() -> AllowedKeyType
fn default() -> AllowedKeyType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllowedKeyType
impl<'de> Deserialize<'de> for AllowedKeyType
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
Source§impl Serialize for AllowedKeyType
impl Serialize for AllowedKeyType
impl Part for AllowedKeyType
Auto Trait Implementations§
impl Freeze for AllowedKeyType
impl RefUnwindSafe for AllowedKeyType
impl Send for AllowedKeyType
impl Sync for AllowedKeyType
impl Unpin for AllowedKeyType
impl UnwindSafe for AllowedKeyType
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