public boolean parseJwk ( String keyText , FileInputStream inputStream , JWKSet jwkset , String signatureAlgorithm ) { boolean bJwk = false ; if ( keyText != null ) { bJwk = parseKeyText ( keyText , locationUsed , jwkset , signatureAlgorithm ) ; } else if ( inputStream != null ) { String keyAsString = getKeyAsString ( inputStream ) ; bJwk = parseKeyText ( keyAsString , locationUsed , jwkset , signatureAlgorithm ) ; } return bJwk ; }
separate to be an independent method for unit tests