public class BasicKeystoreKeyStrategyTask
extends org.apache.tools.ant.Task
BasicKeystoreKeyStrategyTool.| Modifier and Type | Field and Description |
|---|---|
private BasicKeystoreKeyStrategyTool |
tool
encapsulated
BasicKeystoreKeyStrategyTool. |
| Constructor and Description |
|---|
BasicKeystoreKeyStrategyTask()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setKeyAlias(String alias)
Set the encryption key alias base name.
|
void |
setKeyCount(int count)
Set the number of keys to maintain.
|
void |
setKeySize(int size)
Set the size of the generated key.
|
void |
setKeystoreFile(File file)
Set the keystore file to create or modify.
|
void |
setKeystorePassword(String password)
Set the password for the keystore.
|
void |
setKeystoreType(String type)
Set the type of keystore to create.
|
void |
setKeyType(String type)
Set the type of key that will be generated.
|
void |
setVersionFile(File file)
Set the key versioning file to create or modify.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprivate BasicKeystoreKeyStrategyTool tool
BasicKeystoreKeyStrategyTool.public void setKeyType(@Nonnull@NotEmpty String type)
type - type of key that will be generatedpublic void setKeySize(@Positive int size)
size - size of the generated keypublic void setKeyAlias(@Nonnull@NotEmpty String alias)
alias - the encryption key alias basepublic void setKeyCount(@Positive int count)
count - number of keys to maintainpublic void setKeystoreType(@Nonnull@NotEmpty String type)
type - keystore typepublic void setKeystoreFile(@Nonnull File file)
file - keystore filepublic void setKeystorePassword(@Nullable String password)
password - password for the keystorepublic void setVersionFile(@Nonnull File file)
file - key versioning filepublic void execute()
execute in class org.apache.tools.ant.TaskCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.