8241003: Deprecate "denigrated" java.security.cert APIs that represent DNs as Principal or String objects

Reviewed-by: xuelei, valeriep, weijun
This commit is contained in:
Sean Mullan 2020-08-26 13:31:10 -04:00
parent 0df797de94
commit f879698c63
16 changed files with 115 additions and 105 deletions

View file

@ -704,6 +704,7 @@ public class PKCS7 {
* Populate array of Issuer DNs from certificates and convert
* each Principal to type X500Name if necessary.
*/
@SuppressWarnings("deprecation")
private void populateCertIssuerNames() {
if (certificates == null)
return;