mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-08 17:59:43 +02:00
Implement sop encrypt --profile=XXX
This commit is contained in:
parent
f4ff5f89f7
commit
8a66f0bc4f
3 changed files with 38 additions and 0 deletions
|
@ -85,6 +85,12 @@ public class EncryptExternal implements Encrypt {
|
|||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Encrypt profile(String profileName) {
|
||||
commandList.add("--profile=" + profileName);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Ready plaintext(InputStream plaintext)
|
||||
throws IOException, SOPGPException.KeyIsProtected {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue