pub struct CertificateHashData<CustomDataType = NoCustomData> {
pub custom_data: Option<CustomDataType>,
pub hash_algorithm: HashAlgorithmEnum,
pub issuer_key_hash: String<128usize>,
pub issuer_name_hash: String<128usize>,
pub serial_number: String<40usize>,
}Fields§
§custom_data: Option<CustomDataType>§hash_algorithm: HashAlgorithmEnum§issuer_key_hash: String<128usize>The hash of the DER encoded public key: the value (excluding tag and length) of the subject public key field in the issuer’s certificate.
issuer_name_hash: String<128usize>The 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.
serial_number: String<40usize>The string representation of the hexadecimal value of the serial number without the prefix “0x” and without leading zeroes.
Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for CertificateHashData<CustomDataType>
impl<CustomDataType: Clone> Clone for CertificateHashData<CustomDataType>
Source§fn clone(&self) -> CertificateHashData<CustomDataType>
fn clone(&self) -> CertificateHashData<CustomDataType>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<CustomDataType: Debug> Debug for CertificateHashData<CustomDataType>
impl<CustomDataType: Debug> Debug for CertificateHashData<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for CertificateHashData<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for CertificateHashData<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: Eq> Eq for CertificateHashData<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for CertificateHashData<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for CertificateHashData<CustomDataType>
Source§impl<CustomDataType> Serialize for CertificateHashData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for CertificateHashData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for CertificateHashData<CustomDataType>
Source§impl<CustomDataType> Validate for CertificateHashData<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for CertificateHashData<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for CertificateHashData<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for CertificateHashData<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for CertificateHashData<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for CertificateHashData<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for CertificateHashData<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for CertificateHashData<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for CertificateHashData<CustomDataType>where
CustomDataType: UnwindSafe,
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