question: public JKSSignatureToken ( InputStream ksStream , String ksPassword ) { try { keyStore = KeyStore . getInstance ( KeyStore . getDefaultType ( ) ) ; password = ( ksPassword == null ) ? null : ksPassword . toCharArray ( ) ; keyStore . load ( ksStream , password ) ; } catch ( Exception e ) { throw new DSSException ( e ) ; } finally { if ( ksStream != null ) { try { ksStream . close ( ) ; } catch ( IOException e ) { logger . error ( e . getMessage ( ) , e ) ; } } } }
target:  Creates a SignatureTokenConnection with the provided InputStream to Java KeyStore file and password.