mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2025-09-09 11:19:41 +02:00
Fix javadoc warnings
This commit is contained in:
parent
ce1469948f
commit
27d48824b3
7 changed files with 47 additions and 5 deletions
|
@ -28,7 +28,8 @@ public class FilenameResolver {
|
|||
*
|
||||
* @param fingerprint fingerprint
|
||||
* @return absolute certificate file location
|
||||
* @throws BadNameException
|
||||
*
|
||||
* @throws BadNameException if the given fingerprint string is not a fingerprint
|
||||
*/
|
||||
public File getCertFileByFingerprint(String fingerprint) throws BadNameException {
|
||||
if (!isFingerprint(fingerprint)) {
|
||||
|
@ -41,6 +42,15 @@ public class FilenameResolver {
|
|||
return file;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculate the file location for the certification addressed using the given special name.
|
||||
* For known special names, see {@link SpecialNames}.
|
||||
*
|
||||
* @param specialName special name (e.g. "trust-root")
|
||||
* @return absolute certificate file location
|
||||
*
|
||||
* @throws BadNameException in case the given special name is not known
|
||||
*/
|
||||
public File getCertFileBySpecialName(String specialName) throws BadNameException {
|
||||
if (!isSpecialName(specialName)) {
|
||||
throw new BadNameException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue