📜  java 从密钥库中读取公钥 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:26.201000             🧑  作者: Mango

代码示例1
KeyStore ks = KeyStore.getInstance("AndroidKeyStore");
    ks.load(null);          
    PublicKey publicKey = ks.getCertificate("aliasYouChose").getPublicKey();