非对称私钥接口 更多...
#include <private_key.h>


Public 类型 | |
| using | Uptrc = std::unique_ptr< const PrivateKey > |
| 接口实例唯一智能指针类型 更多... | |
Public 类型 继承自 ara::crypto::cryp::RestrictedUseObject | |
| using | Uptrc = std::unique_ptr< const RestrictedUseObject > |
| const类型限制对象唯一智能指针类型 更多... | |
| using | Usage = AllowedUsageFlags |
| 使用限制标志别名 更多... | |
Public 类型 继承自 ara::crypto::cryp::CryptoObject | |
| using | Uptr = std::unique_ptr< CryptoObject > |
| 加密对象唯一智能指针类型 更多... | |
| using | Uptrc = std::unique_ptr< const CryptoObject > |
| const类型加密对象唯一智能指针类型 更多... | |
Public 成员函数 | |
| virtual ara::core::Result< PublicKey::Uptrc > | GetPublicKey () const noexcept=0 |
| 获取与此私钥对应的公钥 更多... | |
Public 成员函数 继承自 ara::crypto::cryp::RestrictedUseObject | |
| virtual Usage | GetAllowedUsage () const noexcept=0 |
| 获取使用限制 更多... | |
Public 成员函数 继承自 ara::crypto::cryp::CryptoObject | |
| virtual | ~CryptoObject () noexcept=default |
| 析构函数 更多... | |
| CryptoObject & | operator= (const CryptoObject &other)=default |
| 将另一个CryptoObject实例拷贝赋值给此实例 更多... | |
| CryptoObject & | operator= (CryptoObject &&other)=default |
| 将另一个CryptoObject实例移动赋值给此实例 更多... | |
| virtual CryptoPrimitiveId::Uptr | GetCryptoPrimitiveId () const noexcept=0 |
| 返回加密对象的算法ID 更多... | |
| virtual bool | IsSession () const noexcept=0 |
| 获取对象的临时属性 更多... | |
| virtual bool | IsExportable () const noexcept=0 |
| 获取对象的可导出属性 更多... | |
| virtual COIdentifier | GetObjectId () const noexcept=0 |
| 返回对象的COIdentifier 更多... | |
| virtual COIdentifier | HasDependence () const noexcept=0 |
| 返回对象依赖的对象的COIdentifier 更多... | |
| virtual std::size_t | GetPayloadSize () const noexcept=0 |
| 返回对象负载的大小 更多... | |
| virtual ara::core::Result< void > | Save (IOInterface &container) const noexcept=0 |
| 将对象保存到提供的容器 更多... | |
静态 Public 属性 | |
| static const CryptoObjectType | kObjectType = CryptoObjectType::kPrivateKey |
| 该接口的静态映射到CryptoObjectType枚举的特定值 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ara::crypto::cryp::CryptoObject | |
| template<class ConcreteObject > | |
| static ara::core::Result< typename ConcreteObject::Uptrc > | Downcast (CryptoObject::Uptrc &&object) noexcept |
| 向下转换并将唯一智能指针从通用 CryptoObject 接口移动到具体派生对象 更多... | |
非对称私钥接口
| N/A |
在文件 第 行定义.
| using ara::crypto::cryp::PrivateKey::Uptrc = std::unique_ptr<const PrivateKey> |
接口实例唯一智能指针类型
在文件 第 行定义.
|
pure virtualnoexcept |
获取与此私钥对应的公钥
| N/A |
| [in] | N/A | |
| [out] | N/A | |
| [in,out] | N/A |
| N/A |
|
static |
该接口的静态映射到CryptoObjectType枚举的特定值
在文件 第 行定义.