harmony 鸿蒙crypto_common.h
crypto_common.h
Overview
Provides common APIs for cryptographic operations.
Library: libohcrypto.so
System capability: SystemCapability.Security.CryptoFramework
Since: 12
Related module: CryptoCommonApi
Summary
Structs
Name | Description |
---|---|
struct Crypto_DataBlob | Defines the data used for encryption and decryption. |
Types
Name | Description |
---|---|
typedef struct Crypto_DataBlob Crypto_DataBlob | Defines a struct for the data used for encryption and decryption. |
Enums
Name | Description |
---|---|
OH_Crypto_ErrCode { CRYPTO_SUCCESS = 0, CRYPTO_INVALID_PARAMS = 401, CRYPTO_NOT_SUPPORT = 801, CRYPTO_MEMORY_ERROR = 17620001, CRYPTO_OPERTION_ERROR = 17630001 } |
Enumerates the encryption and decryption error codes. |
Crypto_CipherMode { CRYPTO_ENCRYPT_MODE = 0, CRYPTO_DECRYPT_MODE = 1 } |
Enumerates the cryptographic operation types. |
Functions
Name | Description |
---|---|
void OH_Crypto_FreeDataBlob (Crypto_DataBlob *dataBlob) | Releases a dataBlob instance. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Crypto Architecture Kit (Crypto Architecture Service)
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦