ctlog
1.0.0
ctlog
Certificate Transparency Log Client API Wrapper ที่ขับเคลื่อนโดย REQWEST
use anyhow :: Result ;
use ctlog :: CTLogV1 ;
# [ tokio :: main ]
async fn main ( ) -> Result < ( ) > {
// Create a new CTLogV1 client for TrustAsia logs
let ctlog = CTLogV1 :: new ( "https://ct.trustasia.com/log2023/" ) ? ;
// Get the sth
let sth = ctlog . get_sth ( ) . await ? ;
println ! ( "{:#?}" , sth ) ;
Ok ( ( ) )
}
ปัจจุบันรองรับ V1 API (RFC6962) เท่านั้น
ได้รับใบอนุญาตภายใต้
ตามตัวเลือกของคุณ
หากคุณไม่ได้ระบุอย่างชัดเจนการบริจาคใด ๆ ที่ส่งโดยเจตนาเพื่อรวมไว้ในงานโดยคุณตามที่กำหนดไว้ในใบอนุญาต Apache-2.0 จะได้รับใบอนุญาตคู่ดังกล่าวข้างต้นโดยไม่มีข้อกำหนดหรือเงื่อนไขเพิ่มเติมใด ๆ