To generate the private and public key information manually, use the keytool from the command line, as in Listing 1.
要手动生成私有、公共密钥信息,可以从命令行使用keytool,如清单1所示。
Saving only public key information is not supported by this cryptographic storage class. A private key must also be saved.
此加密存储类不支持仅保存公钥信息。必须同时保存私钥。
Both methods accept a Boolean value that indicates whether to return only the public key information or to return both the public-key and the private-key information.
两个方法都接受布尔值,该值指示是只返回公钥信息还是同时返回公钥和私钥信息。
Both methods accept a Boolean value that indicates whether to return only the public key information or to return both the public-key and the private-key information.
两个方法都接受布尔值,该值指示是只返回公钥信息还是同时返回公钥和私钥信息。
应用推荐