public class EditCryptoKeyCommand extends BaseCryptoKeyCommand
key| Constructor and Description |
|---|
EditCryptoKeyCommand(User currentUser,
java.lang.Long keyId)
Create new Command and Key
|
EditCryptoKeyCommand(User currentUser,
java.lang.String description)
Creates a new edit command, loading the key by the given description and user's org.
|
getCryptoKey, getType, setContents, setDescription, setType, storepublic EditCryptoKeyCommand(User currentUser, java.lang.Long keyId)
currentUser - who wants to create the keykeyId - of key to lookup.public EditCryptoKeyCommand(User currentUser, java.lang.String description)
currentUser - used to identify the org under which the key is;
cannot be nulldescription - used to identify the key; cannot be null