mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-22 23:22:05 +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)
|
* @param key input stream containing the key(s)
|
||||||
* @return builder instance
|
* @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.BadData if the {@link InputStream} does not provide an OpenPGP key
|
||||||
* @throws sop.exception.SOPGPException.UnsupportedAsymmetricAlgo if the key uses an unsupported asymmetric algorithm
|
* @throws sop.exception.SOPGPException.UnsupportedAsymmetricAlgo if the key uses an unsupported asymmetric algorithm
|
||||||
*/
|
*/
|
||||||
Decrypt withKey(InputStream key)
|
Decrypt withKey(InputStream key)
|
||||||
throws SOPGPException.KeyIsProtected,
|
throws SOPGPException.BadData,
|
||||||
SOPGPException.BadData,
|
|
||||||
SOPGPException.UnsupportedAsymmetricAlgo;
|
SOPGPException.UnsupportedAsymmetricAlgo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue