pub struct OCSPRequestData {
pub hash_algorithm: HashAlgorithmEnum,
pub issuer_name_hash: String,
pub issuer_key_hash: String,
pub serial_number: String,
pub responder_url: String,
pub custom_data: Option<CustomData>,
}Expand description
Information about a certificate for an OCSP check.
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.
responder_url: StringThis contains the responder URL (Case insensitive).
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for OCSPRequestData
impl Clone for OCSPRequestData
Source§impl Debug for OCSPRequestData
impl Debug for OCSPRequestData
Source§impl<'de> Deserialize<'de> for OCSPRequestData
impl<'de> Deserialize<'de> for OCSPRequestData
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 OCSPRequestData
impl PartialEq for OCSPRequestData
Source§impl Serialize for OCSPRequestData
impl Serialize for OCSPRequestData
impl StructuralPartialEq for OCSPRequestData
Auto Trait Implementations§
impl Freeze for OCSPRequestData
impl RefUnwindSafe for OCSPRequestData
impl Send for OCSPRequestData
impl Sync for OCSPRequestData
impl Unpin for OCSPRequestData
impl UnsafeUnpin for OCSPRequestData
impl UnwindSafe for OCSPRequestData
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