ctlog
1.0.0
ctlog
reqwestを搭載した簡単な証明書透明性ログクライアントAPIラッパー
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ライセンスで定義されているように、お客様による仕事に含めるために意図的に提出された貢献は、追加の条件なしで、上記のように二重ライセンスを取得するものとします。