根据Android P安全准则。在Android P中,删除了无法在ECDH算法中生成私钥后,删除了有弹性的城堡提供程序。请指导。
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC");
SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC");
SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
问题:
OpenSSLECPrivateKey {params = {ECDSA-Parameters:(256 bit)}}