Home
last modified time | relevance | path

Searched refs:RSAPublicKey (Results 1 - 2 of 2) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/
H A DKeyPairTest.java28 import java.security.interfaces.RSAPublicKey;
53 assertTrue(kRsa2048.getPublic() instanceof RSAPublicKey); in testKeyPair()
58 assertTrue(kRsa3072.getPublic() instanceof RSAPublicKey); in testKeyPair()
63 assertTrue(kRsa4096.getPublic() instanceof RSAPublicKey); in testKeyPair()
/developtools/hdc/src/common/
H A Dauth.cpp59 struct RSAPublicKey { struct
68 // Convert OpenSSL RSA private key to pre-computed RSAPublicKey format
69 int RSA2RSAPublicKey(RSA *rsa, RSAPublicKey *publicKey) in RSA2RSAPublicKey()
153 RSAPublicKey publicKey; in WritePublicKeyfile()
163 vector<uint8_t> vec = Base::Base64Encode((const uint8_t *)&publicKey, sizeof(RSAPublicKey)); in WritePublicKeyfile()
333 const RSAPublicKey *keyStruct = reinterpret_cast<const RSAPublicKey *>(keyBuf); in RSAPublicKey2RSA()
389 RSAPublicKey *key = new RSAPublicKey(); in ReadDaemonKeys()
398 if (ret != sizeof(RSAPublicKey)) { in ReadDaemonKeys()
[all...]

Completed in 2 milliseconds