public class DeveloperProfile
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
Modifier and Type | Class and Description |
---|---|
static class |
DeveloperProfile.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
DeveloperProfile(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
Secret password,
org.apache.commons.fileupload.FileItem image) |
DeveloperProfile(String id,
String description,
Secret password,
org.apache.commons.fileupload.FileItem image)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static List<DeveloperProfile> |
getAllProfiles() |
List<X509Certificate> |
getCertificates()
Obtains the certificates in this developer profile.
|
String |
getDisplayNameOf(X509Certificate p) |
byte[] |
getImage()
Retrieves the PKCS12 byte image.
|
Secret |
getPassword() |
equals, getDescription, getId, hashCode
getDescriptor, getScope
@DataBoundConstructor public DeveloperProfile(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String description, Secret password, org.apache.commons.fileupload.FileItem image) throws IOException
IOException
@Deprecated public DeveloperProfile(String id, String description, Secret password, org.apache.commons.fileupload.FileItem image) throws IOException
IOException
public Secret getPassword()
public byte[] getImage() throws IOException
IOException
- file I/O@NonNull public List<X509Certificate> getCertificates() throws IOException, GeneralSecurityException
IOException
- file I/OGeneralSecurityException
- Certificate errorpublic String getDisplayNameOf(X509Certificate p)
public static List<DeveloperProfile> getAllProfiles()
Copyright © 2016–2022. All rights reserved.