证书类接口 更多...
#include <certificate.h>


Public 类型 | |
| enum | Status : std::uint32_t { Status::kValid = 0, Status::kInvalid = 1, Status::kUnknown = 2, Status::kNoTrust = 3, Status::kExpired = 4, Status::kFuture = 5 } |
| 验证证书类型枚举 更多... | |
| using | Uptr = std::unique_ptr< Certificate > |
| 证书类接口的智能指针 更多... | |
| using | Uptrc = std::unique_ptr< const Certificate > |
| 证书类接口的const智能指针 更多... | |
Public 类型 继承自 ara::crypto::Serializable | |
| using | FormatId = std::uint32_t |
| 编码格式标识符的容器类型。 更多... | |
额外继承的成员函数 | |
Public 成员函数 继承自 ara::crypto::x509::BasicCertInfo | |
| virtual const X509PublicKeyInfo & | SubjectPubKey (cryp::CryptoProvider::Uptr cryptoProvider=nullptr) const noexcept=0 |
| 加载证书的公钥对象 更多... | |
Public 成员函数 继承自 ara::crypto::Serializable | |
| virtual | ~Serializable () noexcept=default |
| 序列化析构函数 更多... | |
| Serializable & | operator= (const Serializable &other)=default |
| 将另一个Serializable拷贝赋值给此实例 更多... | |
| Serializable & | operator= (Serializable &&other)=default |
| 将另一个Serializable移动赋值给此实例 更多... | |
| virtual ara::core::Result< ara::core::Vector< ara::core::Byte > > | ExportPublicly (FormatId formatId=kFormatDefault) const noexcept=0 |
| 自身序列化导出 更多... | |
静态 Public 属性 继承自 ara::crypto::Serializable | |
| static const FormatId | kFormatDefault = 0U |
| 默认的序列化格式。 更多... | |
| static const FormatId | kFormatRawValueOnly = 1U |
| 只导出对象的原始值。 更多... | |
| static const FormatId | kFormatDerEncoded = 2U |
| 导出对象的DER编码值。 更多... | |
| static const FormatId | kFormatPemEncoded = 3U |
| 导出对象的PEM编码值 更多... | |
证书类接口
| N/A |
在文件 第 行定义.
| using ara::crypto::x509::Certificate::Uptr = std::unique_ptr<Certificate> |
证书类接口的智能指针
在文件 第 行定义.
| using ara::crypto::x509::Certificate::Uptrc = std::unique_ptr<const Certificate> |
证书类接口的const智能指针
在文件 第 行定义.
|
strong |
验证证书类型枚举
| 枚举值 | |
|---|---|
| kValid | 证书有效 |
| kInvalid | 证书无效 |
| kUnknown | 未知状态 |
| kNoTrust | 不可信证书 |
| kExpired | 证书过期 |
| kFuture | 证书尚未生效 |
在文件 第 行定义.