@Extension public static class CertificateCredentialsImpl.UploadedKeyStoreSource.DescriptorImpl extends CertificateCredentialsImpl.KeyStoreSourceDescriptor
CertificateCredentialsImpl.KeyStoreSource Descriptor instances.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckUploadedKeystore(String value,
String password)
Checks the keystore content.
|
String |
getDisplayName() |
CertificateCredentialsImpl.UploadedKeyStoreSource.Upload |
getUpload(String divId)
Creates a new
CertificateCredentialsImpl.UploadedKeyStoreSource.Upload for the specified <input id="..."/> |
static byte[] |
toByteArray(Secret secret)
|
static Secret |
toSecret(byte[] contents)
Deprecated.
|
validateCertificateKeystoreaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@NonNull
public static byte[] toByteArray(@Nullable
Secret secret)
secret - the keystore as a secret.toSecret(byte[])@Deprecated @CheckForNull public static Secret toSecret(@Nullable byte[] contents)
SecretBytes.fromBytes(byte[])contents - the keystore bytes.toByteArray(Secret)public String getDisplayName()
getDisplayName in class Descriptor<CertificateCredentialsImpl.KeyStoreSource>@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckUploadedKeystore(@QueryParameter String value, @QueryParameter String password)
value - the keystore content.password - the password.FormValidation results.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public CertificateCredentialsImpl.UploadedKeyStoreSource.Upload getUpload(String divId)
CertificateCredentialsImpl.UploadedKeyStoreSource.Upload for the specified <input id="..."/>divId - the id if the form input element to inject the uploaded content into.CertificateCredentialsImpl.UploadedKeyStoreSource.UploadCopyright © 2016–2021. All rights reserved.