Add javadoc

This commit is contained in:
Paul Schaub 2022-04-09 19:21:33 +02:00
parent dec37c4706
commit 6ce762ab8a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 8 additions and 2 deletions

View file

@ -8,6 +8,12 @@ import java.io.IOException;
import java.util.List;
import java.util.Set;
/**
* The {@link SubkeyLookup} class defines an interface for recording and looking up, to which certificates
* a certain subkey belongs to.
*
* For a basic implementation it is enough to implement CR (out of CRUD) operations.
*/
public interface SubkeyLookup {
/**

View file

@ -10,8 +10,8 @@ import java.util.Set;
public abstract class Certificate {
/**
* Return the fingerprint of the certificate as 40 lowercase hex characters.
* TODO: Allow OpenPGP V5 fingerprints
* Return the fingerprint of the certificate as lowercase hex characters.
* OpenPGP v4 fingerprints consist of 40 characters, while OpenPGP v5 fingerprints consist of 64.
*
* @return fingerprint
*/