Package org.pgpainless.sop
Class RevokeKeyImpl
- java.lang.Object
-
- org.pgpainless.sop.RevokeKeyImpl
-
- All Implemented Interfaces:
sop.operation.RevokeKey
public class RevokeKeyImpl extends java.lang.Object implements sop.operation.RevokeKey
-
-
Constructor Summary
Constructors Constructor Description RevokeKeyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.Readykeys(java.io.InputStream keys)sop.operation.RevokeKeynoArmor()sop.operation.RevokeKeywithKeyPassword(byte[] password)Provide the decryption password for the secret key.
-
-
-
Method Detail
-
noArmor
public sop.operation.RevokeKey noArmor()
- Specified by:
noArmorin interfacesop.operation.RevokeKey
-
withKeyPassword
public sop.operation.RevokeKey withKeyPassword(byte[] password) throws sop.exception.SOPGPException.UnsupportedOption, sop.exception.SOPGPException.PasswordNotHumanReadableProvide the decryption password for the secret key.- Specified by:
withKeyPasswordin interfacesop.operation.RevokeKey- Parameters:
password- password- Returns:
- builder instance
- Throws:
sop.exception.SOPGPException.UnsupportedOption- if the implementation does not support key passwordssop.exception.SOPGPException.PasswordNotHumanReadable- if the password is not human-readable
-
keys
public sop.Ready keys(java.io.InputStream keys) throws sop.exception.SOPGPException.BadData- Specified by:
keysin interfacesop.operation.RevokeKey- Throws:
sop.exception.SOPGPException.BadData
-
-