pub struct PkixPublicKey {
pub public_key_pem: Option<String>,
pub signature_algorithm: Option<String>,
}Expand description
A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.
This type is not used in any activity, and only used as part of another schema.
Fields§
§public_key_pem: Option<String>A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
signature_algorithm: Option<String>The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in public_key_pem (i.e. this algorithm must match that of the public key).
Trait Implementations§
source§impl Clone for PkixPublicKey
impl Clone for PkixPublicKey
source§fn clone(&self) -> PkixPublicKey
fn clone(&self) -> PkixPublicKey
Returns a copy 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 PkixPublicKey
impl Debug for PkixPublicKey
source§impl Default for PkixPublicKey
impl Default for PkixPublicKey
source§fn default() -> PkixPublicKey
fn default() -> PkixPublicKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PkixPublicKey
impl<'de> Deserialize<'de> for PkixPublicKey
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