mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-07 04:41:12 +01:00
parent
cac500874a
commit
30481cd510
3 changed files with 17 additions and 1 deletions
|
|
@ -83,6 +83,12 @@ public class SecretKeyRingEditor implements SecretKeyRingEditorInterface {
|
|||
this.referenceTime = referenceTime;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public Date getReferenceTime() {
|
||||
return referenceTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SecretKeyRingEditorInterface addUserId(
|
||||
@Nonnull CharSequence userId,
|
||||
|
|
|
|||
|
|
@ -29,6 +29,14 @@ import org.pgpainless.util.selection.userid.SelectUserId;
|
|||
|
||||
public interface SecretKeyRingEditorInterface {
|
||||
|
||||
/**
|
||||
* Return the editors reference time.
|
||||
*
|
||||
* @return reference time
|
||||
*/
|
||||
@Nonnull
|
||||
Date getReferenceTime();
|
||||
|
||||
/**
|
||||
* Add a user-id to the key ring.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue