Obtaining a Public Key from a Private Key (C/C++) Since API version 23, the algorithm library supports obtaining a public key based on a private key. The following uses RSA as an example to describe h
阅读全文
openharmony 鸿蒙 crypto-key-derivation-using-scrypt-ndk
Key Derivation Using Scrypt (C/C++) For details about the corresponding algorithm specifications, see Scrypt. How to Develop Call OH_CryptoKdfParams_Create and specify the string parameter SCRYPT to c
阅读全文
openharmony 鸿蒙 crypto-rsa-asym-encrypt-decrypt-pkcs1-ndk
Encryption and Decryption with an RSA Asymmetric Key Pair (PKCS1) (C/C++) For details about the algorithm specifications, see RSA. Encryption Call OH_CryptoAsymKeyGenerator_Create and OH_CryptoAsymKey
阅读全文
openharmony 鸿蒙 huks-group-key-overview
Group Key Overview From API version 23, HUKS supports the group key function, which is used to share keys across HAP applications developed by the same developer. When a group ID is specified for mult
阅读全文
openharmony 鸿蒙 huks-provider-management-overview
Provider Management Overview and Specifications HUKS provides APIs for registering and unregistering external key management extension (called Ukey Extension). When detecting that any Ukey device exis
阅读全文
openharmony 鸿蒙 huks-ukey-pin-authentication-arkts-sys
Ukey PIN Authentication (ArkTS) From API version 22, huksExternalCrypto provides the PIN authentication API. An ecosystem app calls the certificate HAP UI to display a certificate list. After a user s
阅读全文
openharmony 鸿蒙 huks-key-attestation-ndk-sys
Non-anonymous Key Attestation (for System Applications Only) (C/C++) The caller must have the ohos.permission.ATTEST_KEY permission. You need to request the permission based on the APL of your permiss
阅读全文
openharmony 鸿蒙 huks-query-authentication-status-ndk
Authentication Status Query (C/C++) From API version 22, huksExternalCrypto provides the API for querying the PIN authentication status. This API can be used by applications to query whether the PIN p
阅读全文
openharmony 鸿蒙 huks-extension-registration-and-unregistration-ndk
Registering and Unregistering a Provider (C/C++) From API version 22, huksExternalCrypto provides the APIs for registering and unregistering a Provider. Registering a Provider Linking the Dynamic Libr
阅读全文
openharmony 鸿蒙 huks-offline-anon-attestation-arkts
Offline Anonymous Key Attestation (ArkTS) Offline anonymous key attestation is supported from API version 26.0.0. This API is used to attest the validity of a key in a network‑free environment. Unlike
阅读全文