cryptographic_message_syntax

Function time_stamp_message_http

Source
pub fn time_stamp_message_http(
    url: impl IntoUrl,
    message: &[u8],
    digest_algorithm: DigestAlgorithm,
) -> Result<TimeStampResponse, TimeStampError>
Expand description

Send a Time-Stamp request for a given message to an HTTP URL.

This is a wrapper around time_stamp_request_http that constructs the low-level ASN.1 request object with reasonable defaults.