pub struct CertificateHashData {
pub hash_algorithm: HashAlgorithmEnum,
pub issuer_name_hash: String,
pub issuer_key_hash: String,
pub serial_number: String,
pub custom_data: Option<CustomData>,
}Fields§
§hash_algorithm: HashAlgorithmEnum§issuer_name_hash: StringThe hash of the issuer’s distinguished name (DN), that must be calculated over the DER encoding of the issuer’s name field in the certificate being checked.
issuer_key_hash: StringThe hash of the DER encoded public key: the value (excluding tag and length) of the subject public key field in the issuer’s certificate.
serial_number: StringThe string representation of the hexadecimal value of the serial number without the prefix “0x” and without leading zeroes.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for CertificateHashData
impl Clone for CertificateHashData
Source§impl Debug for CertificateHashData
impl Debug for CertificateHashData
Source§impl<'de> Deserialize<'de> for CertificateHashData
impl<'de> Deserialize<'de> for CertificateHashData
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 PartialEq for CertificateHashData
impl PartialEq for CertificateHashData
Source§impl Serialize for CertificateHashData
impl Serialize for CertificateHashData
impl StructuralPartialEq for CertificateHashData
Auto Trait Implementations§
impl Freeze for CertificateHashData
impl RefUnwindSafe for CertificateHashData
impl Send for CertificateHashData
impl Sync for CertificateHashData
impl Unpin for CertificateHashData
impl UnsafeUnpin for CertificateHashData
impl UnwindSafe for CertificateHashData
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