Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCAP cert validation tests #6

Merged
merged 11 commits into from
Jun 20, 2024
Next Next commit
Ctor for TlsCertificateChainVerifier
hu55a1n1 committed Jun 20, 2024
commit e4418ab7c52426ba6ce0fe8d3a0b0e22abaf8f0d
Original file line number Diff line number Diff line change
@@ -5,6 +5,13 @@ use x509_cert::{crl::CertificateList, Certificate};
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, Eq, PartialEq)]
pub struct TlsCertificateChainVerifier;

impl TlsCertificateChainVerifier {
pub fn new(_root_ca: &str) -> Self {
// FIXME(hu55a1n1)
Self
}
}

impl CertificateChainVerifier for TlsCertificateChainVerifier {
fn verify_certificate_chain<'a, 'b>(
&self,