Package au.com.rayh
Class DeveloperProfile
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
au.com.rayh.DeveloperProfile
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials,com.cloudbees.plugins.credentials.common.StandardCredentials,com.cloudbees.plugins.credentials.Credentials,ExtensionPoint,Describable<com.cloudbees.plugins.credentials.Credentials>,Serializable
public class DeveloperProfile
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
Apple developer profile, which consists of any number of PKCS12 of the private key
and the certificate for code signing, and mobile provisioning profiles.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.HelpersNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider -
Constructor Summary
ConstructorsConstructorDescriptionDeveloperProfile(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. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DeveloperProfile> Obtains the certificates in this developer profile.byte[]getImage()Retrieves the PKCS12 byte image.Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCodeMethods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScopeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
Constructor Details
-
DeveloperProfile
@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 - Throws:
IOException
-
DeveloperProfile
@Deprecated public DeveloperProfile(String id, String description, Secret password, org.apache.commons.fileupload.FileItem image) throws IOException Deprecated.- Throws:
IOException
-
-
Method Details
-
getPassword
-
getImage
Retrieves the PKCS12 byte image.- Returns:
- PKCS12 byte image
- Throws:
IOException- file I/O
-
getCertificates
@NonNull public List<X509Certificate> getCertificates() throws IOException, GeneralSecurityExceptionObtains the certificates in this developer profile.- Returns:
- X509Certificates
- Throws:
IOException- file I/OGeneralSecurityException- Certificate error
-
getDisplayNameOf
-
getAllProfiles
-