Co-authored-by: xiuting.xu <xiutingxt.xu@gmail.com> Reviewed-on: #1 Reviewed-by: yuyr <yuyr@zgclab.edu.cn> Co-authored-by: xuxt <xuxt@zgclab.edu.cn> Co-committed-by: xuxt <xuxt@zgclab.edu.cn>
28 lines
514 B
Rust
28 lines
514 B
Rust
use url::Url;
|
|
use x509_parser::prelude::*;
|
|
|
|
use crate::data_model::resources::resource::ResourceSet;
|
|
|
|
//
|
|
// #[derive(Debug, Clone)]
|
|
// pub struct TrustAnchorCert {
|
|
// /// 信任锚证书名称
|
|
// pub name: String,
|
|
//
|
|
// /// 证书原始DER内容
|
|
// pub cert_der: Vec<u8>,
|
|
//
|
|
// /// 证书
|
|
// pub cert: X509Certificate<'static>,
|
|
//
|
|
// /// 资源集合
|
|
// pub resources: ResourceSet,
|
|
//
|
|
// ///发布点
|
|
// pub publication_point: Url,
|
|
// }
|
|
//
|
|
// impl TrustAnchorCert {
|
|
//
|
|
// }
|