au.com.rayh
Class DeveloperProfile

java.lang.Object
  extended by com.cloudbees.plugins.credentials.BaseCredentials
      extended by 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

Nested Class Summary
static class DeveloperProfile.DescriptorImpl
           
 
Constructor Summary
DeveloperProfile(String id, String description, hudson.util.Secret password, org.apache.commons.fileupload.FileItem image)
           
 
Method Summary
 List<X509Certificate> getCertificates()
          Obtains the certificates in this developer profile.
 String getDescription()
           
 String getDisplayNameOf(X509Certificate p)
           
 String getId()
           
 byte[] getImage()
          Retrieves the PKCS12 byte image.
 hudson.util.Secret getPassword()
           
 
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
 

Constructor Detail

DeveloperProfile

@DataBoundConstructor
public DeveloperProfile(String id,
                                             String description,
                                             hudson.util.Secret password,
                                             org.apache.commons.fileupload.FileItem image)
                 throws IOException
Throws:
IOException
Method Detail

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.