@Extension public static class CertificateCredentialsImpl.UploadedKeyStoreSource.DescriptorImpl extends CertificateCredentialsImpl.KeyStoreSourceDescriptor
CertificateCredentialsImpl.KeyStoreSource Descriptor instances.| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.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(hudson.util.Secret secret)
Decode the
Base64 keystore wrapped in a Secret. |
static hudson.util.Secret |
toSecret(byte[] contents)
Deprecated.
|
validateCertificateKeystoreaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@NonNull
public static byte[] toByteArray(@Nullable
hudson.util.Secret secret)
Base64 keystore wrapped in a Secret.secret - the keystore as a secret.toSecret(byte[])@Deprecated @CheckForNull public static hudson.util.Secret toSecret(@Nullable byte[] contents)
SecretBytes.fromBytes(byte[])Base64 and wraps in a Secretcontents - the keystore bytes.toByteArray(Secret)public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<CertificateCredentialsImpl.KeyStoreSource>@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public hudson.util.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–2018. All rights reserved.