au.com.rayh
Class DeveloperProfile
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
au.com.rayh.DeveloperProfile
- All Implemented Interfaces:
- com.cloudbees.plugins.credentials.Credentials, hudson.model.Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable
public class DeveloperProfile
- extends com.cloudbees.plugins.credentials.BaseCredentials
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:
- Serialized Form
|
Constructor Summary |
DeveloperProfile(String id,
String description,
hudson.util.Secret password,
org.apache.commons.fileupload.FileItem image)
|
| Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials |
getDescriptor, getScope |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeveloperProfile
@DataBoundConstructor
public DeveloperProfile(String id,
String description,
hudson.util.Secret password,
org.apache.commons.fileupload.FileItem image)
throws IOException
- Throws:
IOException
getId
public String getId()
getDescription
public String getDescription()
getPassword
public hudson.util.Secret getPassword()
getImage
public byte[] getImage()
throws IOException
- Retrieves the PKCS12 byte image.
- Throws:
IOException
getCertificates
@Nonnull
public List<X509Certificate> getCertificates()
throws IOException,
GeneralSecurityException
- Obtains the certificates in this developer profile.
- Throws:
IOException
GeneralSecurityException
getDisplayNameOf
public String getDisplayNameOf(X509Certificate p)
Copyright © 2004-2013. All Rights Reserved.