|
| virtual BlockService::Uptr | GetBlockService () const noexcept=0 |
| | 获取块服务实例 更多...
|
| |
| virtual bool | IsBytewiseMode () const noexcept=0 |
| | 检查操作模式是否是按字节处理 更多...
|
| |
| virtual ara::core::Result< ara::core::Vector< ara::core::Byte > > | ProcessBlocks (ReadOnlyMemRegion in) noexcept=0 |
| | 处理与块大小边界对齐的消息的初始部分 更多...
|
| |
| virtual ara::core::Result< void > | ProcessBlocks (ReadWriteMemRegion inOut) noexcept=0 |
| | 处理与块大小边界对齐的消息的初始部分 更多...
|
| |
| virtual ara::core::Result< ara::core::Vector< ara::core::Byte > > | ProcessBytes (ReadOnlyMemRegion in) noexcept=0 |
| | 处理消息的非最后部分(未与块大小边界对齐) 更多...
|
| |
| virtual ara::core::Result< ara::core::Vector< ara::core::Byte > > | FinishBytes (ReadOnlyMemRegion in) noexcept=0 |
| | 处理消息的最后部分(可能未与块大小边界对齐) 更多...
|
| |
| std::size_t | EstimateMaxInputSize (std::size_t outputCapacity) const noexcept |
| | 估计可为填充输出缓冲区而不会发生溢出的最大输入字节数 更多...
|
| |
| std::size_t | EstimateRequiredCapacity (std::size_t inputSize, bool isFinal=false) const noexcept |
| | 估计输出缓冲区的最小所需容量,这足以保存输入数据处理的结果 更多...
|
| |
| virtual ara::core::Result< void > | SetKey (const SymmetricKey &key, CryptoTransform transform=CryptoTransform::kEncrypt) noexcept=0 |
| | 在加密算法上下文中设置(部署)密钥 更多...
|
| |
| virtual ara::core::Result< CryptoTransform > | GetTransformation () const noexcept=0 |
| | 获取转换的配置“方向”:加密或解密 更多...
|
| |
| virtual ara::core::Result< void > | Start (ReadOnlyMemRegion iv=ReadOnlyMemRegion()) noexcept=0 |
| | 初始化上下文设置IV 更多...
|
| |
| virtual ara::core::Result< void > | Start (const SecretSeed &iv) noexcept=0 |
| | 采用秘密种子作为IV向量初始化上下文 更多...
|
| |
| virtual ara::core::Result< void > | Reset () noexcept=0 |
| | 清除上下文中参数 更多...
|
| |
| virtual | ~CryptoContext () noexcept=default |
| | 析构函数 更多...
|
| |
| CryptoContext & | operator= (const CryptoContext &other)=default |
| | 将另一个CryptoContext拷贝赋值给此实例 更多...
|
| |
| CryptoContext & | operator= (CryptoContext &&other)=default |
| | 将另一个CryptoContext移动赋值给此实例 更多...
|
| |
| virtual CryptoPrimitiveId::Uptr | GetCryptoPrimitiveId () const noexcept=0 |
| | 读取对象实例的密钥算法 更多...
|
| |
| virtual bool | IsInitialized () const noexcept=0 |
| | 检查加密上下文是否已经初始化 更多...
|
| |
| virtual CryptoProvider & | MyProvider () const noexcept=0 |
| | 获取此上下文的Crypto Provider的引用 更多...
|
| |