8284553: Deprecate the DEFAULT static field of OAEPParameterSpec

Reviewed-by: mullan
This commit is contained in:
Valerie Peng 2022-04-20 17:23:06 +00:00
parent e8016f7443
commit 15ce8c6195
2 changed files with 35 additions and 38 deletions

View file

@ -112,12 +112,6 @@ public class PSSParameterSpec implements AlgorithmParameterSpec {
("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, 20, TRAILER_FIELD_BC);
// disallowed
private PSSParameterSpec() {
throw new RuntimeException("default constructor not allowed");
}
/**
* Creates a new {@code PSSParameterSpec} as defined in
* the PKCS #1 standard using the specified message digest,