Class PEMKeyStoreParameters

    • Constructor Detail

      • PEMKeyStoreParameters

        public PEMKeyStoreParameters​(String initDefaultCertDir)
        This is the simplest constructor which only accepts a directory where all of the security material is stored. New security material written to this KeyStore will be stored in this directory as well.
        Parameters:
        initDefaultCertDir - The directory for storage of security material
      • PEMKeyStoreParameters

        public PEMKeyStoreParameters​(String initCertDirs,
                                     String initDefaultCertDir)
        This is a slightly more complicated constructor which allows the user to specify one or more directory where the certificates are currently stored. The user can also specify a default directory where new security material can be stored.
        Parameters:
        initCertDirs - Directories where security material exists.
        initDefaultCertDir - A default directory for the storage of security material
      • PEMKeyStoreParameters

        public PEMKeyStoreParameters​(String initCertDirs,
                                     String initDefaultCertDir,
                                     String initUserCertFileName,
                                     String initUserKeyFileName,
                                     KeyStore.ProtectionParameter initProtectionParameter)
        A Constructor supporting the initial storage directories for the certificates, the default storage directory, the filename of the user's certificate file, the file name of the user's key file and a ProtectionParameter.
        Parameters:
        initCertDirs - Directories where security material exists.
        initDefaultCertDir - A default directory for the storage of security material.
        initUserCertFileName - The file name for the user's certificate.
        initUserKeyFileName - The file name for the user's key.
        initProtectionParameter - A protection parameter for this keystore.
      • PEMKeyStoreParameters

        public PEMKeyStoreParameters​(String initCertDirs,
                                     String initDefaultCertDir,
                                     String initProxyFileName)
        This constructor is for users who have a proxy certificate in addition to other security materials.
        Parameters:
        initCertDirs - Directories where security material exists.
        initDefaultCertDir - A default directory for the storage of security material.
        initProxyFileName - The file name for the user's proxy certificate.
      • PEMKeyStoreParameters

        public PEMKeyStoreParameters​(String initCertDirs,
                                     String initDefaultCertDir,
                                     String initUserCertFileName,
                                     String initUserKeyFileName,
                                     KeyStore.ProtectionParameter initProtectionParameter,
                                     String initProxyFileName)
        This is the full constructor for users with proxy certificates.
        Parameters:
        initCertDirs - Directories where security material exists.
        initDefaultCertDir - A default directory for the storage of security material.
        initUserCertFileName - The file name for the user's certificate.
        initUserKeyFileName - The file name for the user's key.
        initProtectionParameter - A protection parameter for this keystore.
        initProxyFileName - The file name for the user's proxy certificate.