|
| virtual SignatureService::Uptr | GetSignatureService () const noexcept=0 |
| | 获取签名服务实例 更多...
|
| |
| virtual ara::core::Result< bool > | VerifyPrehashed (CryptoAlgId hashAlgId, ReadOnlyMemRegion hashValue, const Signature &signature, ReadOnlyMemRegion context=ReadOnlyMemRegion()) const noexcept=0 |
| | 对输入的摘要数据进行签名验签 (使用该方法时,创建的上下文算法支持如下:kNID_rsa_2048_pkcs1,kNID_rsa_2048_pkcs1_sha1, kNID_rsa_2048_pkcs1_sha256, kNID_rsa_4096_pkcs1, kNID_rsa_4096_pkcs1_sha1, kNID_rsa_4096_pkcs1_sha256, kNID_ecc_secp256k1, kNID_ecdsa_secp256k1_sha1, kNID_ecdsa_secp256k1_sha256) 更多...
|
| |
| virtual ara::core::Result< bool > | Verify (ReadOnlyMemRegion value, ReadOnlyMemRegion signature, ReadOnlyMemRegion context=ReadOnlyMemRegion()) const noexcept=0 |
| | 对输入的原文数据进行签名验证 (使用该方法时,创建的上下文算法支持如下:kNID_rsa_2048_pkcs1_sha1,kNID_rsa_2048_pkcs1_sha256, kNID_rsa_4096_pkcs1_sha1, kNID_rsa_4096_pkcs1_sha256, kNID_ecdsa_secp256k1_sha1, kNID_ecdsa_secp256k1_sha256, kNID_sm2_secp256_sm3, kNID_sm2_secp256_sha1, kNID_sm2_secp256_sha256) 更多...
|
| |
| virtual ara::core::Result< bool > | VerifyPrehashed (const HashFunctionCtx &hashFn, const Signature &signature, ReadOnlyMemRegion context=ReadOnlyMemRegion()) const noexcept=0 |
| | 对存储在hash-function上下文中的摘要数据进行签名验签 (使用该方法时,创建的上下文算法支持如下:kNID_rsa_2048_pkcs1,kNID_rsa_2048_pkcs1_sha1, kNID_rsa_2048_pkcs1_sha256, kNID_rsa_4096_pkcs1, kNID_rsa_4096_pkcs1_sha1, kNID_rsa_4096_pkcs1_sha256, kNID_ecc_secp256k1, kNID_ecdsa_secp256k1_sha1, kNID_ecdsa_secp256k1_sha256) 更多...
|
| |
| virtual ara::core::Result< bool > | VerifyPrehashed (const HashFunctionCtx &hashFn, ReadOnlyMemRegion signature, ReadOnlyMemRegion context=ReadOnlyMemRegion()) const noexcept=0 |
| | 对存储在hash-function上下文中的摘要数据进行签名验签 (使用该方法时,创建的上下文算法支持如下:kNID_rsa_2048_pkcs1,kNID_rsa_2048_pkcs1_sha1, kNID_rsa_2048_pkcs1_sha256, kNID_rsa_4096_pkcs1, kNID_rsa_4096_pkcs1_sha1, kNID_rsa_4096_pkcs1_sha256, kNID_ecc_secp256k1, kNID_ecdsa_secp256k1_sha1, kNID_ecdsa_secp256k1_sha256) 更多...
|
| |
| virtual ara::core::Result< void > | SetKey (const PublicKey &key) noexcept=0 |
| | 在签名验签公钥上下文中设置(部署)密钥 更多...
|
| |
| 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的引用 更多...
|
| |