Fix JavaDoc of SelfSignedCertiticate regarding Private Key type (#11510)

Motivation:
SelfSignedCertificate generates EC/RSA key pair and this should be explicitly mentioned in JavaDoc. Currently, only "RSA" was mentioned not "EC".

Modification:
Changed RSA to EC/RSA

Result:
Correct JavaDoc
This commit is contained in:
Aayush Atharva 2021-07-26 12:01:49 +05:30 committed by Norman Maurer
parent 3085ea3d0b
commit 6e5537f312

View File

@ -275,7 +275,7 @@ public final class SelfSignedCertificate {
}
/**
* Returns the generated RSA private key file in PEM format.
* Returns the generated EC/RSA private key file in PEM format.
*/
public File privateKey() {
return privateKey;
@ -289,14 +289,14 @@ public final class SelfSignedCertificate {
}
/**
* Returns the generated RSA private key.
* Returns the generated EC/RSA private key.
*/
public PrivateKey key() {
return key;
}
/**
* Deletes the generated X.509 certificate file and RSA private key file.
* Deletes the generated X.509 certificate file and EC/RSA private key file.
*/
public void delete() {
safeDelete(certificate);