Class KPPKeychain

    • Constructor Detail

      • KPPKeychain

        public KPPKeychain​(String fileName)
        Constructor
        Parameters:
        fileName - keychain filename
      • KPPKeychain

        @DataBoundConstructor
        public KPPKeychain​(String fileName,
                           String password,
                           String description,
                           List<KPPCertificate> certificates)
        Constructor
        Parameters:
        fileName - keychain filename
        password - password to unlock keychain
        description - additional description
        certificates - list of certificates
    • Method Detail

      • getFileName

        public final String getFileName()
        Get keychain filename.
        Returns:
        filename
      • setPassword

        public final void setPassword​(String password)
        Set keychain password.
        Parameters:
        password - password as plain text
      • getPassword

        public final String getPassword()
        Get password to unlock keychain.
        Returns:
        password as plain text
      • getPasswordAsSecret

        public final Secret getPasswordAsSecret()
        Get password as secret ot unlock keychain.
        Returns:
        password as secret
      • getDescription

        public final String getDescription()
        Get description.
        Returns:
        description
      • setDescription

        public final void setDescription​(String description)
        Set description.
      • setCertificates

        public final void setCertificates​(List<KPPCertificate> certificates)
        Set a list of KPPCertificate objects.
        Parameters:
        certificates - list of certificates
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object