Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 9 of 9) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DKeyPairTools.java95 public static KeyPair generateKeyPair(String algorithm, int keySize) { in generateKeyPair() argument
96 if (algorithm == null) { in generateKeyPair()
99 String alg = algorithm; in generateKeyPair()
141 public static PublicKey stringToPublicKey(String algorithm, String keyString) { in stringToPublicKey() argument
145 result = KeyFactory.getInstance(algorithm).generatePublic(spec); in stringToPublicKey()
160 public static PrivateKey stringToPrivateKey(String algorithm, String keyString) { in stringToPrivateKey() argument
164 result = KeyFactory.getInstance(algorithm).generatePrivate(spec); in stringToPrivateKey()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/utils/
DDigestUtils.java35 …public static byte[] computeDigest(byte[] inputContentArray, String algorithm) throws NoSuchAlgori… in computeDigest() argument
36 MessageDigest md = MessageDigest.getInstance(algorithm); in computeDigest()
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/resources/
Dhelp.txt22 -keyAlg : key algorithm, required fields, including RSA/ECC;
23 …y size, required fields, the size of the RSA algorithm is 2048/3072/4096, and the size of the ECC
36 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
57 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
75 -keyAlg : key algorithm, required fields, including RSA/ECC;
76 …y size, required fields, the size of the RSA algorithm is 2048/3072/4096, and the size of the ECC
82 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
104 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
127 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
148 …-signAlg : signature algorithm, required fields, including SHA256withRSA/SHA384withRSA/SHA256withE…
[all …]
/developtools/hapsigner/
DREADME.md84 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is…
108 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is…
151 ├── -keyAlg # Key algorithm, which can be RSA or ECC. It is mandatory.
165 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withRSA, SHA256withE…
178 ├── -keyAlg # Key algorithm, which can be RSA or ECC. It is mandatory.
185 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withRSA, SH…
206 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384wi…
229 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384wi…
259 …├── -signAlg # Signing algorithm, which can be SHA256withRSA, SHA384withR…
281 …├── -signAlg # Signing algorithm, which can be SHA256withECDSA or SHA384withECDSA. It is m…
[all …]
/developtools/integration_verification/tools/deps_guard/rules/NO-Depends-On-HDI/
DREADME.md15 description = "example algorithm";
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
DVerifyHelper.java85 …d verifySignature(X509Certificate cert, byte[] signedData, byte[] unsignedData, String algorithm) { in verifySignature() argument
87 Signature signature = Signature.getInstance(algorithm); in verifySignature()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DMerkleTreeBuilder.java68 private void setAlgorithm(String algorithm) { in setAlgorithm() argument
69 this.mAlgorithm = algorithm; in setAlgorithm()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DBcSignedDataGenerator.java141 …private byte[] computeDigest(byte[] unsignedDataDigest, String algorithm) throws CodeSignException… in computeDigest() argument
144 digest = DigestUtils.computeDigest(unsignedDataDigest, algorithm); in computeDigest()
/developtools/profiler/hiebpf/include/
Dvmlinux.h114542 u8 algorithm[4]; member
130936 uint8_t algorithm; member