Class TrustedCertificatesDirectory


  • public class TrustedCertificatesDirectory
    extends java.lang.Object
    Utility class which knows where server trusted certificates are stored.
    Since:
    2018.1
    Author:
    Mikhail Khorkov
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getCertificateDirectoryForProject​(java.lang.String projectsDir, java.lang.String projectId)
      Returns path to directory with trusted certificates for specified project.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CERTIFICATE_DIRECTORY

        public static final java.lang.String CERTIFICATE_DIRECTORY
        See Also:
        Constant Field Values
    • Method Detail

      • getCertificateDirectoryForProject

        @NotNull
        public static java.lang.String getCertificateDirectoryForProject​(@NotNull
                                                                         java.lang.String projectsDir,
                                                                         @NotNull
                                                                         java.lang.String projectId)
        Returns path to directory with trusted certificates for specified project.
        Parameters:
        projectsDir - root directory for all projects in the data directory
        projectId - project id of project for which we have to return directory
        Returns:
        path to directory with trusted certificates