Class KeyStoreCredentialReader

    • Constructor Detail

      • KeyStoreCredentialReader

        public KeyStoreCredentialReader()
    • Method Detail

      • read

        public KeyStore read​(InputStream is,
                             String... params)
                      throws IOException,
        Reads a keystore from an input stream.
        is - Input stream from which to read keystore.
        params - Two optional parameters are supported:
        • keystore password
        • keystore type; defaults to JVM default keystore format if omitted

        If only a single parameter is supplied, it is assumed to be the password.

        keystore read from data in stream.
        IOException - On IO errors.
        GeneralSecurityException - On errors with the credential data.