Class AbstractKeyStoreTokenConnection

    • Constructor Detail

      • AbstractKeyStoreTokenConnection

        public AbstractKeyStoreTokenConnection()
    • Method Detail

      • getKey

        public DSSPrivateKeyEntry getKey​(String alias)
        This method allows to retrieve a DSSPrivateKeyEntry by alias
        Parameters:
        alias - the expected entry alias
        Returns:
        the private key or null if the alias does not exist
      • getKey

        public DSSPrivateKeyEntry getKey​(String alias,
                                         KeyStore.PasswordProtection passwordProtection)
        This method allows to retrieve a DSSPrivateKeyEntry by alias
        Parameters:
        alias - the expected entry alias
        passwordProtection - key password
        Returns:
        the private key or null if the alias does not exist