pub struct OCSPRequestData {
pub custom_data: Option<CustomData>,
pub hash_algorithm: HashAlgorithmEnum,
pub issuer_key_hash: String<128usize>,
pub issuer_name_hash: String<128usize>,
pub responder_u_r_l: String<2000usize>,
pub serial_number: String<40usize>,
}Expand description
Information about a certificate for an OCSP check.
Fields§
§custom_data: Option<CustomData>§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.
responder_u_r_l: String<2000usize>This contains the responder URL (Case insensitive).
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 Clone for OCSPRequestData
impl Clone for OCSPRequestData
Source§fn clone(&self) -> OCSPRequestData
fn clone(&self) -> OCSPRequestData
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 Debug for OCSPRequestData
impl Debug for OCSPRequestData
impl Eq for OCSPRequestData
Source§impl PartialEq for OCSPRequestData
impl PartialEq 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