mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-23 13:27:59 +01:00
Don't throw KeyIsProtected
This commit is contained in:
parent
4934e472e2
commit
2135455cda
1 changed files with 1 additions and 3 deletions
|
@ -96,13 +96,11 @@ public interface Decrypt {
|
|||
* @param key input stream containing the key(s)
|
||||
* @return builder instance
|
||||
*
|
||||
* @throws sop.exception.SOPGPException.KeyIsProtected if the key is password protected
|
||||
* @throws sop.exception.SOPGPException.BadData if the {@link InputStream} does not provide an OpenPGP key
|
||||
* @throws sop.exception.SOPGPException.UnsupportedAsymmetricAlgo if the key uses an unsupported asymmetric algorithm
|
||||
*/
|
||||
Decrypt withKey(InputStream key)
|
||||
throws SOPGPException.KeyIsProtected,
|
||||
SOPGPException.BadData,
|
||||
throws SOPGPException.BadData,
|
||||
SOPGPException.UnsupportedAsymmetricAlgo;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue