Package sop.operation
Interface RevokeKey
public interface RevokeKey
-
Method Summary
Modifier and TypeMethodDescriptiondefault Readykeys(byte[] bytes) keys(InputStream keys) noArmor()Disable ASCII armor encoding.withKeyPassword(byte[] password) Provide the decryption password for the secret key.default RevokeKeywithKeyPassword(String password) Provide the decryption password for the secret key.
-
Method Details
-
noArmor
RevokeKey noArmor()Disable ASCII armor encoding.- Returns:
- builder instance
-
withKeyPassword
default RevokeKey withKeyPassword(String password) throws SOPGPException.UnsupportedOption, SOPGPException.PasswordNotHumanReadable Provide the decryption password for the secret key.- Parameters:
password- password- Returns:
- builder instance
- Throws:
SOPGPException.UnsupportedOption- if the implementation does not support key passwordsSOPGPException.PasswordNotHumanReadable- if the password is not human-readable
-
withKeyPassword
RevokeKey withKeyPassword(byte[] password) throws SOPGPException.UnsupportedOption, SOPGPException.PasswordNotHumanReadable Provide the decryption password for the secret key.- Parameters:
password- password- Returns:
- builder instance
- Throws:
SOPGPException.UnsupportedOption- if the implementation does not support key passwordsSOPGPException.PasswordNotHumanReadable- if the password is not human-readable
-
keys
-
keys
-