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/
DKeyPairTest.java27 import java.security.interfaces.RSAPublicKey;
52 assertTrue(kRsa2048.getPublic() instanceof RSAPublicKey); in testKeyPair()
57 assertTrue(kRsa3072.getPublic() instanceof RSAPublicKey); in testKeyPair()
62 assertTrue(kRsa4096.getPublic() instanceof RSAPublicKey); in testKeyPair()
/developtools/hdc/src/common/
Dauth.cpp58 struct RSAPublicKey { struct
68 int RSA2RSAPublicKey(RSA *rsa, RSAPublicKey *publicKey) in RSA2RSAPublicKey()
152 RSAPublicKey publicKey; in WritePublicKeyfile()
162 vector<uint8_t> vec = Base::Base64Encode((const uint8_t *)&publicKey, sizeof(RSAPublicKey)); in WritePublicKeyfile()
325 const RSAPublicKey *keyStruct = reinterpret_cast<const RSAPublicKey *>(keyBuf); in RSAPublicKey2RSA()
381 RSAPublicKey *key = new RSAPublicKey(); in ReadDaemonKeys()
390 if (ret != sizeof(RSAPublicKey)) { in ReadDaemonKeys()
485 delete (RSAPublicKey *)v; in FreeKey()