2018-06-07 18:12:13 +02:00
|
|
|
package de.vanitasvitae.crypto.pgpainless.key;
|
2018-06-05 01:30:58 +02:00
|
|
|
|
|
|
|
import org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor;
|
|
|
|
import org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor;
|
|
|
|
|
2018-06-07 18:12:13 +02:00
|
|
|
public interface SecretKeyRingProtector {
|
2018-06-05 01:30:58 +02:00
|
|
|
|
|
|
|
PBESecretKeyDecryptor getDecryptor(Long keyId);
|
|
|
|
|
|
|
|
PBESecretKeyEncryptor getEncryptor(Long keyId);
|
|
|
|
|
|
|
|
}
|