Class KPPKeychainCertificatePair

    • Constructor Detail

      • KPPKeychainCertificatePair

        @DataBoundConstructor
        public KPPKeychainCertificatePair​(String keychain,
                                          String codeSigningIdentity,
                                          String varPrefix)
        Constructor
        Parameters:
        keychain - keychain in the form filename and description
        codeSigningIdentity - general name of the code signing identity
        varPrefix - variable prefix to use
    • Method Detail

      • getKeychain

        public String getKeychain()
        Get keychain.
        Returns:
        keychain filename and description
      • getCodeSigningIdentity

        public String getCodeSigningIdentity()
        Get code signing identity.
        Returns:
        general name of the code signing identity
      • getVarPrefix

        public String getVarPrefix()
        Get variable prefix.
        Returns:
        prefix
      • getVariableNames

        public String getVariableNames()
        Get variable names which can be used in other build steps.
        Returns:
        keychain, password and code signing identity variable name
      • getKeychainVariableName

        public String getKeychainVariableName()
        Get the variable name for the keychain variable that can be used in other build steps.
        Returns:
        variable name in the form varprefix and variable name
      • getKeychainPasswordVariableName

        public String getKeychainPasswordVariableName()
        Get the variable name for the password variable that can be used in other build steps.
        Returns:
        variable name in the form varprefix and variable name
      • getCodeSigningIdentityVariableName

        public String getCodeSigningIdentityVariableName()
        Get the variable name for the code signing identity variable that can be used in other build steps.
        Returns:
        variable name in the form varprefix and variable name
      • getKeychainFilePath

        public String getKeychainFilePath()
        Get the filepath to the keychain stored inside the upload folder.
        Returns:
        file path
      • getKeychainFileName

        public String getKeychainFileName()
        Get the keychain filename from the keychain
        Returns:
        filename
      • getKeychainFromString

        public static KPPKeychain getKeychainFromString​(String keychainString)
        Get the keychain from a given string. The string has to start with the keychain filename.
        Returns:
        keychain